cancel
Showing results for 
Search instead for 
Did you mean: 

RAP Managed - Show/Hide standard buttons

devanand_l
Explorer
0 Kudos

In RAP Managed scenario,  is it possible to control CREATE, EDIT and DELETE buttons based on User Authorizations?

Depending on the User authorization, the standard buttons should be visible or hidden.

Accepted Solutions (1)

Accepted Solutions (1)

lars_kr
Explorer

Hello,

Yes, that is possible. First, you need the authorization master in your behaviour definition.

authorization master ( global, instance )

Global is required for the create operation and instance for update and delete. In your behavior definition, you can specify it as follows for the standard operations.

create (features : global);
update (features : instance);
delete (features : instance);

For the create operation, you can then implement the authorization query in the “get_global_authorizations” method.

I hope I was able to help you

Further Information:

Blog 

regards

Lars

 

 

devanand_l
Explorer
0 Kudos

Hi Lars,

Thanks for the response. It helped. Accepting as Solution.

Answers (0)