In a report details page, I need to allow only the record creator to make changes to and delete the record. Other users belonging to the same account can view the record. This is [partly] achieved through disabling fields in the report details page for users who have not created the record.
The issue is that any user can hit 'Delete' and erase the record.
How do I hide and disable both the Delete and the Submit buttons? The condition is: Current user ID != the record user ID.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
KG360
In a report details page, I need to allow only the record creator to make changes to and delete the record. Other users belonging to the same account can view the record. This is [partly] achieved through disabling fields in the report details page for users who have not created the record.
The issue is that any user can hit 'Delete' and erase the record.
How do I hide and disable both the Delete and the Submit buttons? The condition is: Current user ID != the record user ID.
As always - appreciate any guidance on this!
KG
Link to comment
Share on other sites
12 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.