If you are a user with only "administerUser with only "view" or "administer server" permissions and no client can not see or edit any servers server" permissions.

This is because the string used in hosting_server_permission() is "administer server", and code in hosting_client_node_grants() is looking for "administer servers".

There's a few other weird things with the hosting_client takeover, but this is the first.

CommentFileSizeAuthor
#3 3019462-administer-servers.patch1.1 KBJon Pugh
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Jon Pugh created an issue. See original summary.

  • Jon Pugh committed 76610af on 3019462-administer-servers
    Issue #3019462: User with only "view" or "administer server" permissions...
Jon Pugh’s picture

Patch changes permission and updates any roles that have the old one.

  • Jon Pugh committed 2227a88 on 3019462-administer-servers
    Issue #3019462 by Jon Pugh: User with only "view" or "administer server...
Jon Pugh’s picture

Jon Pugh’s picture

helmo colan ergonlogic?

Jon Pugh’s picture

Status: Needs review » Reviewed & tested by the community

Been in devshop since created. Marking as RTBC

Jon Pugh’s picture

Issue tags: +Devshop
Jon Pugh’s picture

Status: Reviewed & tested by the community » Fixed

  • Jon Pugh committed 04a5e7b on 7.x-3.x
    Issue #3019462 by Jon Pugh: User with only "view" or "administer server...
  • Jon Pugh committed 0743b67 on 7.x-3.x
    Issue #3019462: User with only "view" or "administer server" permissions...

  • Jon Pugh committed 286e306 on 7.x-3.x
    Issue #3019462 by Jon Pugh: User with only "view" or "administer server...
  • Jon Pugh committed 65c4bd5 on 7.x-3.x
    Issue #3019462: User with only "view" or "administer server" permissions...

Status: Fixed » Closed (fixed)

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