Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
From subuser 7.x-2.0-dev:
What works:
- Creating subusers: configurable based on permissions what roles can create and what roles of users they can create.
- Switching users.
- Optional to storage of relation.
- Relations stored using <a href="/project/relation">relation</a>.
- Limiting number of subusers.
- Editing, deleting, or block/unblocking subusers.:
What does not:
- Upgrade path from 6.x-1.x.
Update:
Patch for edit/delete here #1213566: Add View/Edit/Delete Functionality needs review
Comment | File | Size | Author |
---|---|---|---|
#25 | subuser_limit-1145350-21.patch | 3.77 KB | HansKuiters |
#21 | subuser_limit-1145350-21.patch | 3.77 KB | lauriii |
#20 | subuser_limit-1145350-20.patch | 3.77 KB | lauriii |
#11 | subuser.JPG | 150.29 KB | jyotisankar |
Comments
Comment #1
boombatower CreditAttribution: boombatower commentedWould like to see #1146474: Convert subuser_switch to use masquerade included before release.
Comment #2
boombatower CreditAttribution: boombatower commentedCreated subuser 7.x-2.0-alpha2.
Comment #3
puravida CreditAttribution: puravida commentedI am running on D7 now and utilize this module. I'm subscribing so that I can test any patches when available to regain control (edit/cancel) without having to assign "administer users" permission.
Great work on this mod!
Cheers,
Brandon
Comment #4
pedrodacosta CreditAttribution: pedrodacosta commentedsubscribe
Comment #5
webankit CreditAttribution: webankit commented+1
Comment #6
larowlanNick and I have written a patch for the edit/view/delete permissions and posted it here: #1213566: Add View/Edit/Delete Functionality
Comment #7
dandaman CreditAttribution: dandaman commentedThe current alpha release does not even install if you're using the latest release of Relation module (7.x-1.0-beta1).
Comment #8
dandaman CreditAttribution: dandaman commentedOK, maybe not the beta1, but the alpha3 for sure. I was testing this on Friday and it wasn't working and didn't notice the beta1 was released over the weekend.
Comment #9
Jb33 CreditAttribution: Jb33 commentedi'd like to ask about the close future: when do you plan reeasing a stable 7.x-2.x version? This is what I need for my latest project and if you do not plan the release in one or two weeks I have to go back to drupal 6 + subuser 6.x . Can you tell me something about the roadmap..?
Comment #10
boombatower CreditAttribution: boombatower commentedI don't plan to do anything in the next two weeks (although I am open to sponsorship to get this finished up). My project requirements for this are a bit further out.
Have you tried the alpha it should run reasonably well.
Comment #11
jyotisankar CreditAttribution: jyotisankar commentedHi I am using this subuser module to create subuser under corporate member. I am able to do the same, but my requirement is, a corporate member can create only three subuser and can assign different task to them.
Also I am not able to view the list of users that is been created by a Corporate member. From view >> Advance >> Contextual filter its been "(relation_subuser_user) User: Uid" and in RELATIONSHIPS its written "Broken/missing handler". I am doing this task using drupal 7. Please help me out.
Thanks
Jyotisankar
Comment #12
pwhite CreditAttribution: pwhite commentedHi, I'm just wondering if this project is still active for the D7 port? If not does anyone know of any alternatives?
Comment #13
boombatower CreditAttribution: boombatower commentedThe original project I was porting it for is no longer going forward thus I have not finished the port. If someone would like to sponsor development that would be great...it seems like there is interest here so I wouldn't expect that to be an issue if people need this.
Comment #14
7wonders CreditAttribution: 7wonders commentedI posted a patch here that gets subuser to a better working state than any of the current releases. Would it be possible to put that in as a dev release at least so people have a better idea of what the module is capable of?
Comment #15
balleyne CreditAttribution: balleyne commentedsubscribing
Comment #16
kaizerking CreditAttribution: kaizerking commented@7wonders-#14 "Limiting number of subusers" is it working with this patch?
Comment #17
lauriiiI have created a sandbox for this project https://drupal.org/sandbox/lauriii/2011550 . In this sandbox there's a first version of limiting subusers. Feel free to test.
Comment #18
Shawn DeArmond CreditAttribution: Shawn DeArmond commented@boombatower, would you please create the 2.0-dev release so we can get the snapshot?
Or, perhaps roll an alpha3 since it would have the fixes for relation?
Thanks!
Comment #18.0
Shawn DeArmond CreditAttribution: Shawn DeArmond commentedUpdated progress to date
Comment #19
kaizerking CreditAttribution: kaizerking commentedWhat about limiting the creation of sub users? issue https://drupal.org/node/1500328 has been linked to this page
is this considered?
Comment #20
lauriiiHere's patch for limiting the amount of subusers.
Comment #21
lauriiiHere's a finished patch for this one.
Comment #22
lauriiiCommited and pushed #21.
Comment #23
lauriiiComment #25
HansKuiters CreditAttribution: HansKuiters commentedI don't agree with the patch in #21. According to this line:
a user is allowed to create another subuser if the total subusers is equal to the subuser limit. In my opinion is should be changed to this:
where a user can only create a subuser if the subusers limit is not reached yet.