This is for a Panel plugin. The user is already logged in, and they are viewing a certain page’s edit screen. I want to display certain options for this user, only if they are allowed to change the page’s URL.
The user might have their
panel.page.url role permission set to ‘false’. But also the Page itself might have it’s
url option set to ‘false’.
Is there a way to check whether the currently logged in user has permission to change a the current page’s URL?