Adding a "You do not have edit permission" message when user lost the page permission when it is still active
At the moment, when a user lost the edit permission when the page is still active or accessed, the "Edit Content" button will stay until the page is refreshed. Clicking the "Edit Content" will show a black dialog screen compare to Confluence's own...