Closed (fixed)
Project:
Convert Bundles
Version:
3.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
4 Mar 2024 at 12:28 UTC
Updated:
2 Jun 2026 at 15:25 UTC
Jump to comment: Most recent
For a non-administrate role to convert a bundle type, the "Administer Convert Bundles" must also be assigned for the user to access the page. This gives more access than it is required to make a simple convert.
If you assign only a entity_type: Convert Bundle permission, the user can see the Convert Bundle option in the edit page of the entity, but then the user has no access to the page.
Alter the permission of the form so the user can access it. Preferably in the buildForm.
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 #4
prudloff commentedComment #5
joseph.olstadThanks for the merge request, great initiative. With that said, I would prefer if we hold off merging this until it becomes a configuration option. So make the normal behavior occur unless the simplified permissions option is configured.
a new config option "Simplified permissions" is needed for this to be mergeable so that those that want permission granularity are able to keep it.
I'm fine with this being an opt-in or opt-out, either way but it must be configurable.
Comment #6
joseph.olstadComment #7
joseph.olstadComment #8
joseph.olstadI'll have to test this myself and see how it works.
Comment #9
joseph.olstadmerged https://git.drupalcode.org/project/convert_bundles/-/commit/9788d8167349...
Comment #10
joseph.olstadThis is committed to the 2.0.x dev branch. I'll let it simmer in there since permissions should ideally be expanded to limit the select dropdown options.
Comment #11
joseph.olstadnot yet in a tagged release but it is in 2.0.x dev
Comment #13
joseph.olstadComment #15
joseph.olstad#3472070: Refactor module to use a dedicated service, batch, & helper trait
FYI