[SOLVED] Give Temporary role to User

christiandeange
Tera Contributor

Hi all,

I need to give specific grant to an user so he will be able to write on a table record.

The code is in a UI Action and my idea is to give grant, doing record update and remove grant after update is completed.

Is there a way to do this?

Thanks to all.

1 ACCEPTED SOLUTION

sb1186
Kilo Guru

Hi Christian,



For the user to be able to write to the required table using the UI action, ensure the following:



1) The user has a WRITE access to the table. This can be ensured from the defined ACLs on that table. Check if the user satisfies the conditions specified in the ACLs for that table, specifically the WRITE ACL.


2) UI action should be available for the user. This can be verified from the condition you have specified in the UI action. For the user to be able to use the UI action, he/she should satisfy the condition specified.



Please let me know if you have further queries. Would be happy to assist.



PS: Mark this answer as Correct if it solved your query or hit Like/Helpful depending upon the usefulness of the response.



Regards
Supriya Bisht


View solution in original post

2 REPLIES 2

sb1186
Kilo Guru

Hi Christian,



For the user to be able to write to the required table using the UI action, ensure the following:



1) The user has a WRITE access to the table. This can be ensured from the defined ACLs on that table. Check if the user satisfies the conditions specified in the ACLs for that table, specifically the WRITE ACL.


2) UI action should be available for the user. This can be verified from the condition you have specified in the UI action. For the user to be able to use the UI action, he/she should satisfy the condition specified.



Please let me know if you have further queries. Would be happy to assist.



PS: Mark this answer as Correct if it solved your query or hit Like/Helpful depending upon the usefulness of the response.



Regards
Supriya Bisht


shloke04
Kilo Patron

Hi,



Yes it can be done.



Configure a Write Operation ACL both on the table level and also on the Field Level for the Table on which you want to give access to the User and update your Custom Role in the Roles Related List of the ACL form.



Hope this helps.Mark the answer as correct/helpful based on impact.



Regards,


Shloke


Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke