We are planning to incorporate group permissions into the core of
FatFreeCRM.
We will use this google groups discussion to spec the feature, accept
input from FatFreeCRM users, and coordinate development. This
discussion is linked to the following 'lighthouseapp' ticket:
http://fatfreecrm.lighthouseapp.com/projects/26360/tickets/241-additional-permission-settings-group-permissions.
====================
Initial Specification
====================
[ Additional DB Tables ]
* teams
* team_users (join table)
[ Views ]
* extra "Share with Team" radio button in permissions partial
* "Teams" tab in Admin
[ Logic ]
* permissions => polymorphic
** permission_type => User / Team
* permissions control whether the objects are visible, but not
individual actions (or tabs),
so "Share with Team" is basically "share with each individual group
member"
* 'Admin' user => read & write access to every object.
* 'Manager' (?) user => read-only access to every object.
** reuse admin flag, say admin = -1 => readonly
[ Out of scope for this feature (tentative) ]
* 'actions' permissions (controlling what actions a user is allowed to
perform, e.g. create/update/view/destroy).
If you have any experience with Fat Free CRM, either as a user or a
developer, please feel free to contribute your thoughts and ideas.
Thanks,
Nathan B