Hi All
Can I allow a special user to delete records (from customer payment journal for example) without allowing him to create one (I want to use Standard Security Privilges/Rules if possible without any coding !)
Thanks.
*This post is locked for comments
Hi Kaled
Even you create a new privileges/rules with Delete level, the user can create a journal, because delete is a higher level than create one !
Refere to Danyal post :
Delete: An end-user can view, edit, create new and deletedata
But if you remove the original role of the user, and add to it a new role with the needed privileges only, he won't be able to create.
With Delete Level, the user can create also !
I will do it by code !
Try creating a new privilege with Delete access level and it to the role
It will bd hard coded, i don't like to do it in that way, but i will try it!
Hello,
Have you checked create a new Privilege from the AOT and adding it to the role? in the privilege you add an entry point with Access level Delete.
Thank you,
You can't do that by security rules because the delete permission is higher than the create permission. The easiest way to achieve it is to modify the form's dataset property or the form's property which shows the new / delete buttons. 2nd option not to be used with standard forms however :)
Security standards won't allow such cases. The privileges don't enforce a single action but rather a set of actions. They are as:
Yes I can do it by coding, but i tought that may be there is a solution to do that using security rules...
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156