At the moment, all users can see the component settings panel, move to edit mode and see the permissions panels. This is not a good idea since we want users (even if they are logged-in) to be able to view most of the website like its static content.
Also, even if a user can interact with elements like buttons or fields, they shouldn't see any settings panels etc.
To handle this, there are a few cases that I think are acceptable:
Showing edit toggle: this should depend on the element currently being viewed (i.e. the one specified in the URL). For example, a user can only turn edit mode on if they have edit permissions on the page they are currently viewing. This could have problems however where children on the page are editable by a user... so maybe it should be if any content on the page is editable.
Showing component settings button: only shown if the element is editable by the user.
Showing drag handle: only shown if the parent of draggable children is editable by the user (and children elements should also be editable).
Showing permissions: if the user can edit the element, and obviously read-only if the user cannot edit the permissions.
At the moment, all users can see the component settings panel, move to edit mode and see the permissions panels. This is not a good idea since we want users (even if they are logged-in) to be able to view most of the website like its static content.
Also, even if a user can interact with elements like buttons or fields, they shouldn't see any settings panels etc.
To handle this, there are a few cases that I think are acceptable: