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

Adds in actor which utilizes service to add permission to collection #357

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

straleyb
Copy link

@lsat12357 I want to write some tests for this, but I'd like your input on this. I plugged into the actor stack to utilize a new actor which adds the permissions. The service already exists in hyrax, so i'm just utilizing that here instead of creating my own Hyrax::Collections::PermissionsCreateService. It still utilizes the state machine structure and adheres to that. Only difference is that i'm calling the method on the service in a different spot than the other ones typically do (seen on lines 48 and 53)

@straleyb
Copy link
Author

I meant to draft this. Not ready for merge yet since it needs tests.

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.

1 participant