Currently the permissions are shown in the node edit form, "after" an node has been saved. It would be handy to show them via AJAX while the node is being created newly. So while I am selecting terms in the node create form, JavaScript should check which terms have been chosen and show/update the permissions info. See attached screenshot from the current node "edit" form.

Screenshot

Comments

Peter Majmesku created an issue. See original summary.

Peter Majmesku’s picture

Check functionlity with multiple taxonomy term entity reference fields in one content type.

  • Peter Majmesku committed 884f941 on 8.x-1.x
    Issue #2905834: Show permissions info via AJAX while creating an new...
Peter Majmesku’s picture

Status: Active » Fixed

Implemented this feature for node creation and editing into the current dev branch. If an user is selecting any restricted taxonomy terms in node edit forms, the permissions info is updated in the "Permissions by Term" widget. "All" taxonomy form widgets are respected (auto-completion field, checkboxes and select fields).

Peter Majmesku’s picture

Status: Fixed » Needs work

I have noticed a bug: if multiple roles are assigned to a taxonomy term, only the last role is visible in the info widget.

  • Peter Majmesku committed 884f941 on 2905834-show-permissions-info-via-ajax
    Issue #2905834: Show permissions info via AJAX while creating an new...

  • Peter Majmesku committed 669d005 on 8.x-1.x
    Issue #2905834 by Peter Majmesku: Show permissions info via AJAX while...
Peter Majmesku’s picture

Status: Needs work » Fixed

Released in 8.x-1.33.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.