Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cou admin to add subcous #76

Draft
wants to merge 1 commit into
base: rciam-3.1.x
Choose a base branch
from

Conversation

lionick
Copy link

@lionick lionick commented Nov 12, 2020

Some issues to be resolved:

  1. List COUs: What we want to show here?? COUs that user is owner-admin (via group membership)? Or what $roles['admincous'] contains (shows the children of COUs is admin)? .eg if you are admin in AMB then $roles['admincous'] contains also the children of AMB. I
  2. When adding a COU, at parent list, what do we want to show? (Same as above)
  3. When adding a COU, the couadmin can't put himself as admin to that group.. What I implemented is to give him access to add himself as an admin to groups that are connected to cous that are inside $roles['admincous']
  4. When editing a COU I havent yet implemented the parent list.

Also i couldnot avoid adding index() function for listing COUs as "cous" is set at Standard Controller:
line 1013 $this->set($modelpl, $this->Paginator->paginate($req, array(), $sortlist));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant