wafflesfm / batter

It makes Waffles.
Other
83 stars 18 forks source link

Permissions System #23

Open galador opened 11 years ago

galador commented 11 years ago

The permissions system in batter should be very flexible. Some situations I can think of:

Main "community involvement" class - this could be based on upload / downlaod, forum participation, any number of metrics depending on the site.

Staff / VIP classes - pretty self-explanatory. These would bypass the classes above, and get a specific list of permissions.

Add-on classes - for example, a site might have a group of people who work on News Stories, or articles, or "special release" write-ups. We might want to give these users access to a specific forum, or the ability to do "something" (e.g. post a news story)

Others I probably can't think of right now.

ghost commented 11 years ago

Also, there should be a way to override (give and revoke) permissions for individual users.

senturio commented 11 years ago

This will require us writing our own permissions backend - I can't find anything "decent" that's been updated recently that fits the bill, especially if we want Gazelle-esque "weighting" of permission groups (i.e. lower groups can't edit higher groups)

Woodenhead commented 11 years ago

Thanks for making this issue, gally.

Here's more info:

jzelinskie commented 11 years ago

Has anybody looked into any of the permission system expansions for Django? I know there are a few like Django Guardian that may be useful.

senturio commented 11 years ago

I have my eye on this one.