Modify

Opened 4 years ago

Last modified 3 years ago

#7804 new defect

Use groups in access()

Reported by: anonymous Owned by: turkanis
Priority: normal Component: AccessMacro
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

The access() deny() functions don't seem to work with permission groups. Say I have a group defined as "programmers" which includes a bunch of permission Actions. I'd like to be able to do this:

{{{
#!access
#allow(programmers)
Only programmers can see this
}}}

Attachments (0)

Change History (1)

comment:1 Changed 3 years ago by leihog

I needed the same functionality so I made a little patch.
You can download the patch from https://gist.github.com/1218720

Or checkout my latest version from https://github.com/leihog/TracAccessMacro

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.