for each content type to appear in the UI (both managers_page and managers_bar) there should be a user_access check.

Comments

franz’s picture

Assigned: Unassigned » franz
Status: Active » Fixed

Reworked 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.