Modify

Opened 6 years ago

Last modified 5 years ago

#7804 new defect

Use groups in access()

Reported by: anonymous Owned by: Jonathan 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 5 years ago by Leif Högberg

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

Modify Ticket

Action
as new The owner will remain Jonathan Turkanis.

Add Comment


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

 
Note: See TracTickets for help on using tickets.