Opened 12 years ago

Closed 12 years ago

#864 closed enhancement (fixed)

Group Permissions

Reported by: anonymous Owned by: Noah Kantrowitz
Priority: normal Component: PrivateTicketsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.9


Can you make it possible to allow permissions by group?

Attachments (0)

Change History (9)

comment:1 Changed 12 years ago by anonymous

Type: defectenhancement

comment:2 Changed 12 years ago by anonymous

Priority: normalhighest

comment:3 Changed 12 years ago by Noah Kantrowitz

Can you explain what you mean in more detail?

comment:4 Changed 12 years ago by anonymous

What we mean with allow permissions by group is something like this:

We already have the users organized in groups

group 1

user1 user2

group 2

user2 user3

We would like that when a user posts a ticket, by default uses something from his personal configuration like "default group".

At the moment of creating the ticked the user has the option to change it to himself, or even another group where he is member.

Tickets should only be visible to users who are in the group, so a user would end up seeing only:

  • His own tickets
  • Tickets from groups he belongs to
  • public tickets (we can create a group called public for instance which everyone belongs)

the purpose is to use track not only for development but also support, and if for one part, we must contain different groups from seeing each others tickets (they can contain information confidential to the group), they should see tickets open by the other members (unless they explicitly mark it as private, by changing the user post to themselves.

The situations where a post should belong to more than one group, (visible by groups 1 and 2, but not by 3) could be handled with the CC, similar to what you already did on this plugin.

comment:5 Changed 12 years ago by Noah Kantrowitz

As your email is broken, I guess I will respond on here.

This is probably pushing the limits of my hackery. This whole plugin is a giant hack, and is currently somewhat fragile (not stability-wise, but in that it depends on a lot of Trac internals). The security sandbox has an enhanced permissions system that will make this very easy to modularize. When I get some free time I will see what I can whip up w.r.t. this groups idea, so maybe this weekend.

comment:6 Changed 12 years ago by Noah Kantrowitz

Priority: highestnormal

comment:7 Changed 12 years ago by anonymous

Any update on this?

comment:8 Changed 12 years ago by Noah Kantrowitz

Not currently. I haven't found a spare tuit lately, so this is hanging in TODO limbo.

comment:9 Changed 12 years ago by Noah Kantrowitz

Resolution: fixed
Status: newclosed

(In [2114]) New group permissions. (closes #864)

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.