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

Widget instance locking needs to occur when the creator is opened. #1202

Closed
FrenjaminBanklin opened this issue Feb 20, 2019 · 2 comments
Closed
Assignees
Milestone

Comments

@FrenjaminBanklin
Copy link
Contributor

Currently a widget instance is locked as soon as somebody clicks the 'Edit' button in the My Widgets page.

Not only does this mean that if somebody can't actually edit a widget (i.e. #1198) it'll still lock the widget, but it also means that going straight to the create url for a widget bypasses the lock check entirely.

Potentially the creator could have a new API call 'start_edit_session' or something which locks the widget, gets publish privileges, etc. all in one go.

@FrenjaminBanklin FrenjaminBanklin self-assigned this Feb 20, 2019
@FrenjaminBanklin
Copy link
Contributor Author

This should probably build on #1199.

FrenjaminBanklin added a commit to FrenjaminBanklin/Materia that referenced this issue Feb 22, 2019
FrenjaminBanklin added a commit to FrenjaminBanklin/Materia that referenced this issue Feb 25, 2019
…ation method. Added tests for new method. Fixed frontend warning not closing properly.
FrenjaminBanklin added a commit to FrenjaminBanklin/Materia that referenced this issue Mar 12, 2019
…o fail earlier when necessary and added type suggestions to new/updated methods.
FrenjaminBanklin added a commit to FrenjaminBanklin/Materia that referenced this issue Apr 3, 2019
@iturgeon iturgeon added this to the Ifrit (~5) milestone Jun 3, 2019
@iturgeon
Copy link
Member

iturgeon commented Jun 3, 2019

Merged into Ifrit. Should ship soon, closing.

@iturgeon iturgeon closed this as completed Jun 3, 2019
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

No branches or pull requests

2 participants