in6pio / Incipio

ERP pour Junior-Entreprises.
http://incipio.fr
GNU Affero General Public License v3.0
5 stars 5 forks source link

Members specifications #32

Open theofidry opened 9 years ago

theofidry commented 9 years ago

Write down the specifications for the members management: here.

theofidry commented 9 years ago

The features for the first version have been freezed. This tickets is reported to the next milestone for which more advanced features regarding the users will be provided.

xNok commented 9 years ago

Why make a différence beetween Rôle and Type. User and Membre have the same rôle. Moreover we must had types : "membre du CA" and "Membre du bureau". It is a usefull entry to filter members. After if you want to create an ACL you will manage right with Type (membre, intervenant, membre du CA, Membre du bureau) and not with Role.

theofidry commented 9 years ago

Roles are ACL based, not types, meaning if you wish, you can have an admin role on a simple member or strip a "membre du CA" of all rights by giving him the simples role.

But you're right we could avoid the duplication and using only roles instead of adding type. But the question is: do we want to do it? Using roles instead of types implies two things:

The hierarchy part is not trivial as changing the hierarchy for adding a new role may be quite painful. For now it would not have much consequences as there is no ACL permissions set yet (almost). So we can do the change.

theofidry commented 9 years ago

Another thing is, having roles and types allow us to add types on the fly without any problem and keeping the roles simple.

@flef your opinion?