How to implement sub role for control object on screen

Hi.

I am developing Outsystem reactive project User authentication section


In one role, including multiple permissions

For example, "view, add, edit, delete" for control objects on the screen.


How to do it.?

Hi,

What I understood from your question is, do you want to assign above mentioned role to different user or based on condition assign to single user or different user will have these roles? Can you please explain to provide solution.

Regards,

Komal


Champion

Hi yutthana,

Afaik there is no sub role in OutSystems. You have to define a separate role for each "view, add, edit, delete".

But you can use the Group-Role model to define permissions.

Kind regards,

Hi,

You can enclosed view, add, edit, delete into "if" widget and apply condition like: CheckAdminRole(UserId:) to restrict permission on screen .

Thanks.

Thank Tom Zhao

Yes, I want to assign a separate role for "view, add, edit, delete" to control the objects on the screen.

Regards,

Champion

Hi 

Then you can use CheckXXXRole action for login user as Samiksha mentioned above.

and use if to determine what should display.

Kind regards,

mvp_badge
MVP

Hi,

You should have a look at the PowerPoint you can download in the following link

https://link.medium.com/P7tOiOi6reb 

Regards,

Daniel



Thank  Daniël Kuhlmann,

Ok i will try to study Power Point Follow the given link.

Regards,

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.