25
Views
4
Comments
Solved
How to know who added a user to a group?
Question
Platform Version
11.11.0.26979

Currently, our client noticed that many people have administrator permission to the application who shouldn't have. They asked me who granted this role to them, so I wonder where I could find this information. I'm talking about the site itself, not the platform.

Thank you for your help

Champion
Rank: #269
Solution

Hi Claro,

The log is in here (if assign role done in "Users" module

Rank: #658

Hi Peterson 

I assume the users while registering into the Mobile App are automatically getting assigned to the "Admin Role". 

Do you have the user roles created in your application? If not you can see below documentation:

https://success.outsystems.com/Documentation/11/Developing_an_Application/Secure_the_Application/User_Roles/Create_and_Use_Roles

If you want to see users and their role within the application (not using Platform's User Management App) then you will need to create this table in screen using CheckUserRole(). 

Hi Peterson,

In your application:

1) Create role as "Admin".

2)Untick Anonymous and tick Admin role for screen.

3)Create new user and assign them admin role if required.

Though this only admin can access your screen.

Thanks.  


Rank: #127

Hi Claro,

If your client uses the User module to grant roles, that would be logged.  If they do it somewhere programatically, you can probably find out where the grant role action is used.

Dorine

Champion
Rank: #269
Solution

Hi Claro,

The log is in here (if assign role done in "Users" module