- Issue created by @scott_euser
- Merge request !14Implementation for working around non 'administer users' permission β (Open) created by scott_euser
- Status changed to Needs review
6 months ago 8:41pm 15 July 2024 - π¬π§United Kingdom scott_euser
Phpcs failures already existing on main branch, so I think out of scope of this issue. The updated tests pass but fail without the code change as expected.
- πΊπΈUnited States mlncn Minneapolis, MN, USA
Hmm, i think we should clarify the wording, and maybe provide a submodule with this sort of feature (expanding permissions rather than restricting).
For example, i would absolutely *not* expect that granting "Use Example form mode with Page content type" to authenticated users and anonymous users would suddenly allow people who could not edit pages before now edit them. I would hope that the most restrictive permission wins, as is usually the case in Drupal.
In the case of content, it is possible to grant the permission to create or edit to multiple roles, and then *restrict* what fields are shown to different roles with the Form Mode Manager.
Unfortunately, users do not have the breakdown of permissions you would need to do that in core (moving
The combination of these modules should make it possible to do what you have done elegantly with custom code with permissions instead:
https://www.drupal.org/project/create_user_permission β
https://www.drupal.org/project/edit_profiles_perms β - Status changed to Closed: works as designed
2 months ago 6:42am 12 November 2024