Closed
Bug 538276
Opened 16 years ago
Closed 16 years ago
[z] Add groups model/interactions with users model
Categories
(addons.mozilla.org Graveyard :: Admin/Editor Tools, defect, P1)
addons.mozilla.org Graveyard
Admin/Editor Tools
Tracking
(Not tracked)
RESOLVED
FIXED
5.6
People
(Reporter: clouserw, Assigned: davedash)
References
Details
(Whiteboard: [z][gh:master])
dd is doing the users/sessions in bug 534026 so this kinda goes along with that. We need group stuff too.
| Assignee | ||
Comment 1•16 years ago
|
||
Can I get more details? E.g. where these things are set, what tables to look at. Not necessary, because I can poke around.
| Reporter | ||
Comment 2•16 years ago
|
||
Yeah, I filed this yesterday in mid-meeting because we needed a place holder. Basically this is about setting up, at a minimum, the backend of groups. So, right now we have 2 tables: groups and groups_users. There are some standard functions in the groups model for getting names and membership stuff, but there are also two files outside of it; both components: simple_auth.php and simple_acl.php.
When we create a group we give it a permissions flag (something like editors:*) which says what actions can be performed by those users. simple_acl is what checks the current user against that flag. You can find documentation on the permissions at https://wiki.mozilla.org/Update:Remora_Permissions
For this bug I'm looking for group CRUD, some kind of ACLs (either a django version or a duplicate of simple_acl), and an easy way to check permissions in the code with the ACLs - probably one or more decorators. And then documentation for how to do it. :)
Comment 3•16 years ago
|
||
I added the admin crud in http://github.com/jbalogh/zamboni/commit/3365a35eb46a0a82de19a15b650a886043675699
| Assignee | ||
Comment 4•16 years ago
|
||
/davedash/zamboni/tree/538276-simple-acl shouldn't get approved until bug 539108 is resolved.
Status: NEW → ASSIGNED
Depends on: 539108
Whiteboard: [z] → [z][gh:/davedash/zamboni/tree/538276-simple-acl]
| Assignee | ||
Comment 5•16 years ago
|
||
rebased with master
| Assignee | ||
Updated•16 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Whiteboard: [z][gh:/davedash/zamboni/tree/538276-simple-acl] → [z][gh:master]
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•