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

add Valkyrie support to PermissionTemplate#reset_accss_controls_for #5109

Merged
merged 1 commit into from
Sep 17, 2021

Conversation

no-reply
Copy link
Member

entend PermissionTemplate's valkyrie support by adding handling in

with this, it supports Valkyrie and ActiveFedora interchangably.

@samvera/hyrax-code-reviewers

@no-reply no-reply force-pushed the valkyrie-reset-acl branch 2 times, most recently from 5f394cd to db58e27 Compare September 17, 2021 05:31
entend PermissionTemplate's valkyrie support by adding handling in

with this, it supports Valkyrie and ActiveFedora interchangably.
Copy link
Contributor

@elrayle elrayle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really good. Thanks for this fix.

edit_groups: edit_groups,
read_users: read_users,
read_groups: interpreted_read_groups.uniq)
end
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks nice.

@elrayle elrayle merged commit c8921b9 into main Sep 17, 2021
@elrayle elrayle deleted the valkyrie-reset-acl branch September 17, 2021 17:12
elrayle added a commit that referenced this pull request Jan 31, 2022
…ions for resources

* use `Hyrax::query_service` to find `source_model` in `PermissionTemplate`
* use `PermissionTemplate #reset_access_controls_for` instead of `AdminSet #reset_access_controls!`

The method `Hyrax::AministrativeSet #reset_access_controls!` does not exist.  It doesn’t exist for any of the for Valkyrie::Resources.  It was replaced by `PermissionTemplate #reset_access_controls_for(collection:)` in PR #5109.  This works for both ActiveFedora and Valkyrie.
elrayle added a commit that referenced this pull request Jan 31, 2022
…ions for resources

* use `Hyrax::query_service` to find `source_model` in `PermissionTemplate`
* use `PermissionTemplate #reset_access_controls_for` instead of `AdminSet #reset_access_controls!`

The method `Hyrax::AministrativeSet #reset_access_controls!` does not exist.  It doesn’t exist for any of the for Valkyrie::Resources.  It was replaced by `PermissionTemplate #reset_access_controls_for(collection:)` in PR #5109.  This works for both ActiveFedora and Valkyrie.
elrayle added a commit that referenced this pull request Feb 1, 2022
…ions for resources

* use `Hyrax::query_service` to find `source_model` in `PermissionTemplate`
* use `PermissionTemplate #reset_access_controls_for` instead of `AdminSet #reset_access_controls!`

The method `Hyrax::AministrativeSet #reset_access_controls!` does not exist.  It doesn’t exist for any of the for Valkyrie::Resources.  It was replaced by `PermissionTemplate #reset_access_controls_for(collection:)` in PR #5109.  This works for both ActiveFedora and Valkyrie.
elrayle added a commit that referenced this pull request Feb 1, 2022
…ions for resources

* use `Hyrax::query_service` to find `source_model` in `PermissionTemplate`
* use `PermissionTemplate #reset_access_controls_for` instead of `AdminSet #reset_access_controls!`

The method `Hyrax::AministrativeSet #reset_access_controls!` does not exist.  It doesn’t exist for any of the for Valkyrie::Resources.  It was replaced by `PermissionTemplate #reset_access_controls_for(collection:)` in PR #5109.  This works for both ActiveFedora and Valkyrie.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants