Adding user_access_multiple() allows for checking if a user all or any permission(s) of a groups of permissions. An example usage would be #296693: Hide empty admin categories.

<?php
function user_access_multiple($perms, $operator = 'and') {
 
// Do the move!
}
function
user_access($perm) {
  return
user_access_multiple(aray($perm));
}
?>

Comments

Status:Active» Closed (won't fix)

Never mind this.