Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

Disable/add permissions to page tabs inside VY application #47

Open
froboy opened this issue Oct 13, 2020 · 1 comment
Open

Disable/add permissions to page tabs inside VY application #47

froboy opened this issue Oct 13, 2020 · 1 comment

Comments

@froboy
Copy link
Collaborator

froboy commented Oct 13, 2020

As a Virtual Y Editor
I want to be protected from deleting my entire application container
So that I don't break my site.

Drupal's page tabs (View, Edit, Delete...) show up on all nodes, but when inside of a single-page app these links can be confusing. A user may click on it wanting to edit a specific content item, but instead be directed to edit the main VY Landing Page container, which they generally should not be editing.

Virtual_YMCA___YMCA_Buffalo_Niagara

A few paths come to mind:

  • Complexity - trivial: Hide the Tabs block on paths we expect (virtual-ymca, virtual-y-login)
  • Complexity - medium : Hide the Tabs block on pages that have the "Virtual Y Content" or "Virtual Y Login" paragraph
  • Complexity - high: somehow rewrite the tabs to be able to edit the content inside the app
@froboy
Copy link
Collaborator Author

froboy commented Apr 26, 2021

#134 is related to this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants