Hello,
Is there a way to access the administrator name making the request via the IsCommandAvailable so we can tailor menu options based on the administrator?
Thanks
Hello,
Is there a way to access the administrator name making the request via the IsCommandAvailable so we can tailor menu options based on the administrator?
Thanks
Hi Nicholas,
As a workaround to sort of trick this into working, you can do the following:
So the above with then check if the logged in administrator has access to modify the new virtual attribute, and if they do based on the access template, the command will be displayed.
Keep in mind though, if the other administrators have 'Modify - All Properties' that's propagated to the object, the command will also be displayed. So you may have to deal with this by denying access for everyone else.
Hi Nicholas,
As a workaround to sort of trick this into working, you can do the following:
So the above with then check if the logged in administrator has access to modify the new virtual attribute, and if they do based on the access template, the command will be displayed.
Keep in mind though, if the other administrators have 'Modify - All Properties' that's propagated to the object, the command will also be displayed. So you may have to deal with this by denying access for everyone else.