Closed (outdated)
Project:
Role inheritance
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2009 at 06:27 UTC
Updated:
31 Aug 2017 at 13:43 UTC
Jump to comment: Most recent
Comments
Comment #1
jmroth commentedI don't get it either.
I had a "dev" and a "editor" role.
"dev" on my system has only one more permission than "editor".
Now, role inheritance comes into play.
I install the module and I make "dev" inherit permissions from "editor".
Now I take one permission that "editor" AND "dev" both had away from "dev".
Result: A user with role "dev" can no longer use that feature :-(
I see that role_inheritance_user() correctly adds the role to the account object using debug output.
But that seems not to be enough??
Comment #2
decibel.places commentedsame here
doesn't transfer the permissions
possibly also breaks the permissions causing a timeout on the permissions admin page (I had to delete my additional roles in phpmyadmin and start over)
nice looking interface, though, too bad it doesn't work
I found a slightly more cumbersome solution with Duplicate Role, which adds the role and copies the permissions one-by-one http://drupal.org/project/duplicate_role
Comment #3
my-family commentedDoes not work even almost 1 year after original issue posted :-(
#2: Duplicate role module works fine (thanks), except for this issue on some servers: http://drupal.org/node/637190
Comment #4
jvieille commentedIs this module maintained?
Comment #5
frankiedesign commentedI just had a brief look over the code. It seems to me, that this module does not grant any permissions itself. It lets you select 'parents' for your roles, and if you assign a role to someone VIA THE BUILT-IN FORM the module hooks in and also selects the patent roles. That is really not much functionality, since I can tick the wanted "parent roles" myself with minimum effort. Just for information...
(So where's my Problem? The thing is, that if I let Drupal question which roles a user does have, it will _always_ tell me the parent roles, for every child role also. Meaning: it can't be distinguished if a user has only the child role or both, afterwards. So I - for my purpose - have to filter them out... some "ifs"... sigh...)
Comment #6
richgerdesDrupal 6 core has also been EOL since February 24th 2016. The Drupal 6 version is no longer supported and has not been since 2014. Thus I am closing this issue.
If this issue is critical to the function of your site, please consider fixing the issue and providing a patch with the solution. Patches will only be applied once reviewed by the community and will not be reviewed by the maintainer.