-
Notifications
You must be signed in to change notification settings - Fork 1
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
Sync request #59
Comments
Entity created on dev |
The format for using Entity Reference Prepopulate is:
To add Sync request for for http://dev.hub.kendra.org/content/stairway-heaven the link would be: Where field_sr_asset is the Entity Reference field in the Sync Request and 151 is the node number of Stairway to Heaven. |
Create new sync request blockI added the "Make a new Sync request" to the asset panel using "new custom content" with the following <div><a href="/node/add/sync-request?field_sr_asset=%node:nid" class="btn btn-primary">Make a new Sync request</a></div> Added the Sync request: Create new content permissions to to authenticated user |
I have created and exported a new rule to send a message and email when a new Sync Request is created https://www.dropbox.com/s/ykowvh23zfcjj10/rule_sync_request_created.txt?dl=0. |
I created the view to list assets request in https://www.dropbox.com/s/25wy1lwtd193amx/view_export_asset_sync_requests.txt?dl=0 |
Hi @dahacouk me @andystiller made good progress and we have the basic functionality on dev.
However to implement this we need some workflow control that has a few options. |
Are the states on the recipient end or sender end? I like to use "Delivered" and "Read" as these are common terms used in messaging systems, yes? But I guess these are for the sender. Would the recipient see "New" and "Read" or "Unread"? We also need a mechanism for starting a conversation about the sync request – so it's a kind of "Maybe" state (or "In discussion"). But I like "Maybe". |
The states are for the recipient (the asset owner) although in real life I am sure the sender may have actions of its own like cancel the request. |
Comments about state and access control. workflow - not good as we need the related asset owner not the request owner the state field is on. option 1 other options: |
I have created 5 rules that send a message and email when the request is approved or when a comment is added. The main rule when a comment is added is "Sync Request Comment Added" https://www.dropbox.com/s/m6z8rd9k5zvymhb/rules_sync_request_comment_added.txt?dl=0 this then uses 2 rules components "Is Sync Request Comment Author" https://www.dropbox.com/s/rawah8z26otf3n6/rules_is_sync_request_comment_author.txt?dl=0 and "Not Sync Request Comment Author" https://www.dropbox.com/s/7u4r3qfp5cv5vko/rules_not_sync_request_comment_author.txt?dl=0. The new rules to send a message when a request is approved are "Sync Request Approved Author" (sync request author) https://www.dropbox.com/s/xd3wf2echngp0f9/rules_sync_request_approved_author.txt?dl=0 and "Sync Request Approved Asset Author" https://www.dropbox.com/s/bmq0bz1vz960pjj/rules_sync_request_approved_asset_author.txt?dl=0. |
I create the state as:
key is not visible to user and we can change the label/name |
Create rule links for workflow and updated the view to sort and filter on those |
New with capital "N"? |
Could you list the states on the sender side? |
Implemented code to restrict view to the request view however need to also control the request itself.
|
Went over UI with @dahacouk and this is the result todo:
|
Created a new page for Sync in out http://dev.hub.kendra.org/sync |
Test the user creation, login, mesaging and sync requests. Tests
Notes
Additional go live tasks
|
|
Tests Continued
Notes
|
I have installed field permissions module and tested locally. We can use the field permissions module to make the sync request status field not editable for users that don't have administrator permissions. |
I have copied the configuration from dev to live and added rules for sending emails on all sync request state changes |
Sync request are requests to use an asset for visual media (for example I want to use Under pressure” in a TV commercial).
If the owner (holder of the copyright) accepts the request he will grant a license
Implementation:
We will create a Sync request node type that will have initially the following fields
The sync request will also create Entity messages (see #52 ) for both asset owners and request owner
Dev
Deploy
Sync request – Aprove
Sync request – Reject
create: Sync request – In process
and set permissions for all three
The text was updated successfully, but these errors were encountered: