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

[Rough draft for input] Create medium between published and archived #789

Closed
wants to merge 3 commits into from

Conversation

ethan-nelson
Copy link
Collaborator

@ethan-nelson ethan-nelson commented Apr 29, 2016

Following from #788...

Right now, I've created a new permission named task_contribute (didn't know what I should name it) that controls whether a user can comment, take/lock a task, unlock a task, mark a task done, or invalidate or validate a task.

Though this permission is enforced for all those actions in the task model, it for the most part should not even be required since I have modified the task mako template to hide the comment box and action button if a project is closed and the user isn't a PM or admin.

Since the definition of an archived project has changed, I also altered the project due date to turn the project to closed instead of archived.

As it stands, all archived projects will now be defined as closed (that name still unsure what to call it) so PMs and admins can archive projects (possibly retain this name still) that they want to.

I cobbled this together in about an hour so it's far from perfect...and it won't pass CI checks until I clean things up later.

@ethan-nelson ethan-nelson changed the title Rough draft for input: create medium between published and archived [Rough draft for input] Create medium between published and archived May 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants