Modify

Opened 7 years ago

Closed 7 years ago

#864 closed enhancement (fixed)

Group Permissions

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

Description

Can you make it possible to allow permissions by group?

Attachments (0)

Change History (9)

comment:1 Changed 7 years ago by anonymous

  • Type changed from defect to enhancement

comment:2 Changed 7 years ago by anonymous

  • Priority changed from normal to highest

comment:3 Changed 7 years ago by coderanger

Can you explain what you mean in more detail?

comment:4 Changed 7 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 7 years ago by coderanger

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 7 years ago by coderanger

  • Priority changed from highest to normal

comment:7 Changed 7 years ago by anonymous

Any update on this?

comment:8 Changed 7 years ago by coderanger

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

comment:9 Changed 7 years ago by coderanger

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from coderanger. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.