Closed paregorios closed 1 year ago
I've changed the published
state in the pleiades_entity_workflow
to allow the reject
transition, but not the retract
transition. Previously, only the retract
transition was allowed, which is definitely not what you wanted.
I also made this change in the pleiades.policy profile workflow definition.
@alecpm This seems to be working as desired on production. Is there anything else that needs doing at this stage, or are we ready to close the ticket?
Hello.
Jeffrey A. Becker, Ph.D. RPA (is/eum) | Mediterranean archaeologist | RPA #16473 | @. Editor for Smarthistory http://smarthistory.org/ and Pleiades Project https://pleiades.stoa.org/home | Lecturer, Binghamton University - SUNY https://www.binghamton.edu/cnes| 617-877-4484 | Mastodon @.> | Research Profile at HCommons https://hcommons.org/members/serviliusahala/ | ORCID iD http://orcid.org/0000-0001-8759-3774
On Mon, Apr 3, 2023 at 4:00 PM Tom Elliott @.***> wrote:
@alecpm https://github.com/alecpm This seems to be working as desired on production. Is there anything else that needs doing at this stage, or are we ready to close the ticket?
— Reply to this email directly, view it on GitHub https://github.com/isawnyu/pleiades-gazetteer/issues/494#issuecomment-1494901899, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2RA7OQOS56WNWQDVN47S3W7MT4VANCNFSM6AAAAAAWOVM4XU . You are receiving this because you are subscribed to this thread.Message ID: @.***>
"Retract" is still available from the "Pending review" state, but not from the "Published" state. "Retract" and "Send Back" do the exact same thing, the only difference is who is allowed to perform the operation (the content creator/owner can "Retract", but only admins/reviewers can "Send Back").
Expected behavior:
Users with only the
Member
role should be able to retract content that they created that is inpending
state, but not content that is inpublished
state.Current behavior:
A user with only the
Member
role has recently retracted several objects that were inpublished
state in order to modify them, instead of checking out a working copy. This workflow path should not be possible.Steps to reproduce:
Member
role.Reviewer
role.Member
account used in number 1, above.drafting
state.Desired behavior
For an authenticated user with the
Member
role but without theReviewer
role:pending
statepublished
state, regardless of who the creator or owner wassend back
option should never appearFor an authenticated user with the
Reviewer
role, the "retract" option on the "state" drop-down menu:published
statepending
state