Hi,

I configured workbench in drupal 7. It contains My content , create content , my sections , my drafts and needs review tabs to users. So How can I hide/ remove my sections tab from users workbench area ?

Thanks in advance

Comments

drupalmonkey’s picture

Status: Active » Postponed (maintainer needs more info)

veena01,

The My Sections tab is provided by the Workbench Access module. Are you using Workbench Access?

veena01’s picture

Yes, I'am using workbench access and workbench moderation with taxonomy.
Thanks

drupalmonkey’s picture

Project: Workbench » Workbench Access
Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new2.34 KB

veena01,

Created a patch that adds a new permission for the "My Sections" tab. Please test!

agentrickard’s picture

Status: Needs review » Needs work
agentrickard’s picture

In the permission, I think the action is "view" not, "use".

agentrickard’s picture

We also don't use underscores in permission strings, typically.

drupalmonkey’s picture

Status: Needs work » Needs review
StatusFileSize
new2.22 KB

Rerolled patch with the suggestions above.

veena01’s picture

Thanks.....I 'll try...

dagorym’s picture

Just tried this out and found the following:

I works properly for all regular users and hides the tab if they don't have the permissions.

It doesn't hide it for users with the Administrator role even if the permission check box is unchecked. This isn't an issue for me and maybe that is how it is supposed to work. Just reporting behavior I saw.

Thanks for the patch.

agentrickard’s picture

Do you mean the Administrator role or uid 1?

veena01’s picture

Status: Needs review » Closed (fixed)
tjhart87’s picture

Issue summary: View changes

Was this ever committed? Or is it only in the dev branch?

BillyTom’s picture

I am using workbench 7.x-1.2 and I can see those two permissions.

sitaram11’s picture

#3 worked

santanu88’s picture

#7 is working fine :)

ann b’s picture

Status: Closed (fixed) » Needs review

#7 worked for me. I changed the status from Closed(Fixed) to Needs Review. This patch hasn't made it to production yet.

What is required for the status to be changed to RTBC?

Elango_drupal’s picture

Hi Team,
Is there any idea to hide "Create Content" menu tab in the workbench.

techlead’s picture

#7 no longer works on Version the 7.x-1.6 release of the module. workbench_access_update_7004 is now a duplicate method since that method name has now been taken by code that actually got committed. We need a patch to update the module name to something that isn't taken. Re-rolling the patch now.

techlead’s picture

Rerolled patch #7 per comment #18

agentrickard’s picture

Status: Needs review » Closed (works as designed)

7.x is closed.