Closed (fixed)
Project:
Group permissions
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Plan
Assigned:
Reporter:
Created:
9 Oct 2022 at 22:23 UTC
Updated:
24 Nov 2022 at 00:04 UTC
Jump to comment: Most recent
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
finn lewisHi @LOBsTerr!
As I think you know, we're keen on this for LocalGov Drupal Microsites which uses this heavily. Ekes is working on other dependencies and I understand you might have already started work on this. We're keen to help wherever possible and test and get all the things working for our use case.
Do keep us posted on any progress and we'll also let you know how we're getting on.
Many thanks!
Finn
Comment #3
lobsterr commentedI have faced a very interesting question, what to do with admin roles. It was a case before.
Should we allow to override admin roles ?
Should we skip them ?
Comment #4
ekes commentedI'd guess you want to be able to assign admin roles per group?
Comment #5
lobsterr commented@ekes You got it wrong.
Let's imagine we have created a few roles, which marked "as admin". It means these roles will have a full access and normally we can even change this role on Group type level.
My question is do we want to override admin roles? or we only what to override roles without admin access.
From one side, why do we want to override admin roles, if you have it you have full control, but from another side maybe it would be interesting to override these roles in some cases.
My idea to be as close as possible to group module. It means I prefer not to touch admin roles and even hide them on group permissions page.
Comment #6
ekes commentedSo is_admin role are always is_admin role. Don't assign those roles in groups to users if you want to have different permissions per group for that role. Also makes sense.
Comment #7
lobsterr commentedok, I will skip admin for a moment, we can add it at any moment, if it is required
Comment #9
lobsterr commentedI have finished to work on the first version. A good news we can use it for both Group 2.0 and Group 3.0, because we don't care about group cotent entity :) As I mentioned above we ignore admin roles.
I will prepare a new release. Please test it!
Comment #12
finn lewisAmazing, thanks LOBsTerr!
We can't currently test this against Group 3.x, as the composer.json is constrained to 2.x
"drupal/group": "^2.0"https://git.drupalcode.org/project/group_permissions/-/blob/2.0.x/compos...
Does this just need a quick change to something like :
"drupal/group": "^2.0 || ^3.0 "?Comment #13
lobsterr commentedyes, my fault, I will fix it tomorrow
Comment #14
finn lewisThanks dude! I tried it on the issue fork. This allowed me to install it at least.
https://git.drupalcode.org/issue/group_permissions-3314382/-/commit/6134...