DNN-Connect / UserAccountManagement

A DNN module that let's site administratos manage user accounts
GNU General Public License v2.0
7 stars 10 forks source link

Dynamic Roles #34

Open alex-pommier opened 9 years ago

alex-pommier commented 9 years ago

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!