Skip to content

Conversation

@omelao
Copy link
Contributor

@omelao omelao commented Nov 18, 2022

Just for Owners/Creators, if a box is transfered it will not show the button.

image

image

Just for Owners/Creators, if a box is transfered
it will not show the button.
@omelao omelao linked an issue Nov 18, 2022 that may be closed by this pull request
Copy link
Contributor

@ysbaddaden ysbaddaden left a comment

Choose a reason for hiding this comment

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

Nice! Just a few readability enhancements, but most importantly the authorization to improve.

Carlos Zillner added 2 commits November 25, 2022 11:04
- avoid adding .row-action-actions
- use of transferred method
- unblind checking permissions changed
@omelao omelao requested a review from ysbaddaden November 25, 2022 14:05
@ysbaddaden
Copy link
Contributor

@omelao Can I bother you to add controller specs for the boxes#blind and boxes#unblind actions, to ensure that they work as expected?

  • context: before transfer

    • owner institution can blind box
    • owner institution can unblind box
  • context: after transfer

    • owner institution can't blind box
    • owner institution can't unblind box
    • sender institution can unblind box after transfer

Those specs are important to ensure that we don't inadvertently break the authorizations later!

@omelao
Copy link
Contributor Author

omelao commented Nov 29, 2022

Yeah. Sure.

@omelao
Copy link
Contributor Author

omelao commented Dec 1, 2022

@ysbaddaden done

@ysbaddaden ysbaddaden merged commit 82d1615 into main Dec 2, 2022
@ysbaddaden ysbaddaden deleted the 1772-allow-to-edit-the-box-just-the-blind-check-box branch December 2, 2022 13:22
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.

Allow to edit the box: just the blind check box

3 participants