Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Project Allocator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
edtech
Project Allocator
Merge requests
!17
Fix: prevent staff members from deleting projects published by other staff members.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix: prevent staff members from deleting projects published by other staff members.
prevent-unauthorized-deletion
into
master
Overview
0
Commits
1
Pipelines
1
Changes
2
Merged
Andrea Callia D'Iddio
requested to merge
prevent-unauthorized-deletion
into
master
2 years ago
Overview
0
Commits
1
Pipelines
1
Changes
2
Expand
As per title
0
0
Merge request reports
Viewing commit
d1212212
Show latest version
2 files
+
4
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
d1212212
Fix: prevent staff members from deleting projects published by other staff members.
· d1212212
Andrea Callia D'Iddio
authored
2 years ago
app/templates/pages/staff/projects.html
+
2
−
0
Options
@@ -18,8 +18,10 @@
<a
href=
"{{ url_for("
staff.view_project
",
project_id=
project.id)
}}"
class=
"w3-button w3-hover-teal"
>
View
</a>
{% endif %}
{% if allow_edit %}
<a
href=
"{{ url_for("
staff.delete_project
",
project_id=
project.id)
}}"
class=
"w3-button w3-hover-red"
>
Delete
</a>
{% endif %}
</div>
</li>
{% endfor %}
Loading