Skip to content
This repository has been archived by the owner on Feb 12, 2018. It is now read-only.

Dynamic Roles #34

Open
alex-pommier opened this issue Jul 30, 2015 · 0 comments
Open

Dynamic Roles #34

alex-pommier opened this issue Jul 30, 2015 · 0 comments

Comments

@alex-pommier
Copy link

This is a great module 1 thing that im needing and im not sure anyone else has run into this but i've seen feature requests so just throwing this out there.

Being able to allow roles based on the users currently assigned role.

My case:
I have this module on a page in which I want users assigned their company role "compXYZ role"
to be able to view and access users only to the "companyXYZ role"

But if a user from compABC logs in they can only see and assign roles from "compABC role" from the same module. If I assign compABC and compXYZ roles to the module them users from either company will be able to see users spanning both selected roles and this cannot be, in my particular situation.

At the moment i'm having to duplicate the page/instance of this module and assign it permission to compXYZ or compABC manually everytime I have a new client.

It would be awesome to be able to read the users role and display only roles that pertain to them.
"compXYZ" and "compXYZ-admin" for example.

Not sure how complex this would be if anyone has run into this and modded the module please let me know.

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant