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

Add "is project locked" helper and views in taskflowbackend #2048

Open
mikkonie opened this issue Dec 12, 2024 · 0 comments
Open

Add "is project locked" helper and views in taskflowbackend #2048

mikkonie opened this issue Dec 12, 2024 · 0 comments
Assignees
Labels
app: taskflowbackend Issue in the taskflowbackend app feature Requested feature or enhancement
Milestone

Comments

@mikkonie
Copy link
Contributor

mikkonie commented Dec 12, 2024

While looking into #2041, I realized we should have a common "is project locked" API method for checking whether we should allow specific activity.

Logically, this should be provided in taskflowbackend as it controls the locking.

This will help with e.g. updating the UI of different apps regarding whether the project is currently locked or not. Also, this can be used even if we introduce new flows locking the project, or changing the locking mechanism altogether. Knowledge of the locking logic should stay 100% inside taskflowbackend, of course.

Edit: Forgot to write that there of course also need to be an API view for this.

Related issues: #1512, #1844

@mikkonie mikkonie added feature Requested feature or enhancement app: taskflowbackend Issue in the taskflowbackend app labels Dec 12, 2024
@mikkonie mikkonie added this to the v1.1.0 milestone Dec 12, 2024
@mikkonie mikkonie self-assigned this Dec 12, 2024
@mikkonie mikkonie changed the title Add "is project locked" helper in taskflowbackend Add "is project locked" helper and views in taskflowbackend Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app: taskflowbackend Issue in the taskflowbackend app feature Requested feature or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant