Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow MetaField::Subject 'top' attribute to be a function #249

Closed
drn05r opened this issue Sep 16, 2022 · 1 comment
Closed

Allow MetaField::Subject 'top' attribute to be a function #249

drn05r opened this issue Sep 16, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@drn05r
Copy link
Contributor

drn05r commented Sep 16, 2022

This may be a use case where what subjects to display should be restricted depending on the user. One example is when you have old and new divisional sub-tree. You don't want regular users to be able to use the old sub-tree divisions but you want editors/admins to be able to add these items to a divisions.

Allowing MetaField::Subject top attribute to be a function is useful but it could have unintended side effects. A user that does not have access to some subjects for a field could unset these subjects if they are being used and not in the sub-tree they can see. Therefore, it is essential to set the workflow component to type Field::Subject

@drn05r drn05r added the enhancement New feature or request label Sep 16, 2022
@drn05r drn05r added this to the 3.4.5 milestone Sep 16, 2022
@drn05r drn05r self-assigned this Sep 16, 2022
@drn05r drn05r closed this as completed in 295c716 Feb 25, 2023
@drn05r
Copy link
Contributor Author

drn05r commented Jun 19, 2024

Like for #389 this can be done in the workflow XML. It is probably best this is reverted so as not to leave two methods to do the same thing which may lead to confusion.

drn05r added a commit that referenced this issue Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant