Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
for each content type to appear in the UI (both managers_page and managers_bar) there should be a user_access check.
Comments
Comment #1
franzReworked it, specially on managers_page.
Now it user has 'edit any type content' permission an entry will show on edit menu on managers_bar an the Manage link will appear beside it on managers_page
If user has 'create type content' permission it will be the same. Both are independent.
However, if none of the two permissions are set, there won't be any entry on the /admin page.
The code could use some more refactoring, but for now it's ok.
That was a big commit.