Skip to content

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

Open
straleyb wants to merge 3 commits intomasterfrom
feature/AddCollectionPermissions
Open

Adds in actor which utilizes service to add permission to collection#357
straleyb wants to merge 3 commits intomasterfrom
feature/AddCollectionPermissions

Conversation

@straleyb
Copy link
Copy Markdown

@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
Copy Markdown
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