Uid 1 cannot access the subpermission page.

Obviously uid 1 can access the full permission page, but it seems strange that its not allow to access this page.

Comments

univate’s picture

StatusFileSize
new730 bytes
univate’s picture

Status: Active » Needs review

This patch allows uid 1 access to the page.

univate’s picture

StatusFileSize
new729 bytes
sdrycroft’s picture

Status: Needs review » Closed (works as designed)

It is actually deliberate that UID 1 can not access this page. In fact, any user with access to the main permissions page can not access the subpermissions page - this avoids any confusion and two identical menu items from being displayed.

bwaindwain’s picture

Thanks @univate for the patch. We need it for our use.

One of Drupal's principles is that uid#1 has all permissions. See user_access() and drupal.org/docs

bwaindwain’s picture

StatusFileSize
new699 bytes

here's a patch for 1.1