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.
I have workbench_access installed on a D8 site and have configured sections for specific content types and all's well, I can assign users to sections at /admin/config/workflow/workbench_access/sections but if I add the "sections" field to the user form display here /admin/config/people/accounts/form-display then edit a user it doesn't pick up the sections. The select box just displays "None" as the only option and the checkboxes doesn't render anything.
Is this a bug or am I missing something? I'm currently running the alpha release but have also tried the latest dev and there's no change.
Comments
Comment #2
agentrickardUsing the native form field isn't currently supported. We simply haven't had time to make the UI work for the feature you're discussing here.
The storage of that data is likely to change in the beta release as well.
Comment #3
agentrickardComment #4
specky_rum CreditAttribution: specky_rum as a volunteer commentedOK, thanks for getting back to me.
Comment #5
larowlanPlease hide the field from the user edit form and use the UI under admin -> config -> workflow -> workbench access -> sections to assign users to sections.
Thanks
Comment #6
agentrickardRe-opening.
My understanding is that once we get https://github.com/agentrickard/workbench_access/issues/66 landed, we can make this work properly.
Comment #7
agentrickardComment #8
agentrickardI have moved the fields out of the user form and placed them in a specific tab.
https://github.com/agentrickard/workbench_access/pull/105
Comment #9
maxneaga CreditAttribution: maxneaga as a volunteer and at University of Minnesota commentedThe issue is also present on taxonomy edit forms (if the taxonomy has an entity reference field to a workbench access taxonomy).
Comment #10
agentrickardI don't understand the issue in #9. That doesn't seem related to me. Nor does it seem easily solvable.
We never exposed any such information on taxonomy edit pages in the D7 version.
There is no longer an option to disable sections within a scheme, so I see no use-case for adding any information to the taxonomy editing screen.
Comment #11
agentrickardWe can discuss exposing this information on other forms in separate issues.
Comment #12
agentrickardTo git.drupal.org:project/workbench_access.git
ac6bd5c..2ace001 8.x-1.x -> 8.x-1.x
Comment #13
agentrickard