Hulihan Applications
about projects portfolio services contact_us

Feature #72

avatar

User Groups & Advanced Permissions

Added by Dave Hulihan 269 days ago. Updated 145 days ago.

Status:Closed Start:11/04/2009
Priority:Immediate Due date:
Assigned to:- % Done:

100%

Category:- Spent time: 9.00 hours
Target version:0.3.2

Description

What do you think about implementing a User Group system? Here's 2 implementations of how we could use a group system in Opal:

  • Category Based - I'm thinking A group will be allowed certain permissions(CRUD) to item categories. All users in a certain group can then, create, edit, update, delete items from a certain category. This will allow for better collaboration between a group of users.
  • Item Object Based - Certain Groups will be allowed assigned certain permissions(CRUD) to specific Item Objects. For instance, the Reviewers group would be allowed to create new reviews to items, and the Review Moderators group would be allowed to edit/delete reviews.

On a separate note, If we implement User Groups, We should also add a System Setting(type: Registration) that specifies the default group for new users.

History

Updated by Dave Hulihan 192 days ago

avatar
  • Target version deleted (0.3.0)

Updated by Dave Hulihan 161 days ago

avatar
  • Target version set to 0.3.2

Brainstorm: We could also add a new Model that's called: GroupPluginPermissions. This lets you specify which groups can can create/update/read/delete a certain plugin type. This would let better collaboration between users, since users of a certain group can add images to other groups.

If we do this, we should also add an approval feature(is_approved) for each type of plugin object created for an item, so the item creator can approve items added by other users, etc.

Updated by Dave Hulihan 155 days ago

avatar
  • Priority changed from Normal to Immediate

Updated by Dave Hulihan 154 days ago

avatar
  • % Done changed from 0 to 30

Created Group Controller & Views. Also added the ability to change a user's group when editing a user.

Updated by Dave Hulihan 154 days ago

avatar
  • % Done changed from 30 to 40

Completed Group Plugin Permissions code for changing a group's permissions in regards to plugins for any item. This will be the first Group Permission type to be active. Through this particular set of Permissions, you can change what groups can do to Items system-wide. For example, if you wanted anyone to be able to add Images to one of your Items, subject to your approval, this can be done!

The next step is to add all the permissions functions into the various plugin actions.

Updated by Dave Hulihan 154 days ago

avatar
  • File opal_permissions_in_action.JPG added

Updated by Dave Hulihan 154 days ago

avatar
  • File opal_permissions_in_action.JPG deleted

Updated by Dave Hulihan 150 days ago

avatar
  • % Done changed from 40 to 50

Finished visibility coding in each Plugin View for Group Plugin Permissions. Next up: Coding for Item Owners to Approve Plugin items created by other users.

Updated by Dave Hulihan 148 days ago

avatar
  • % Done changed from 50 to 80

Finished Approval View & Controller code. The first round of Group Permissions is almost done! Next up: Testing...

Updated by Dave Hulihan 146 days ago

avatar
  • % Done changed from 80 to 90

I also added a "Requires Your Approval" Attention box to the the User Home Page and the My Items page for users. This will show them any new plugin items that need to be approved. Testing Almost done...

Updated by Dave Hulihan 145 days ago

avatar
  • Status changed from New to Closed
  • % Done changed from 90 to 100

Looks good!

Also available in: Atom PDF



Hulihan Applications © 2007-2009
No portion of this site may be copied, altered, duplicated or otherwise used without the express written approval of Hulihan Applications.