Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
Qpixel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIP
Answers
Qpixel
Commits
05d10b29
Unverified
Commit
05d10b29
authored
Dec 14, 2020
by
ArtOfCode
Committed by
GitHub
Dec 14, 2020
Browse files
Options
Downloads
Plain Diff
Merge pull request #348 from codidact/luap42/tools-ability-fix
Fix privilege escalation for tools display
parents
dee1a846
9088fe71
Loading
Loading
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/views/posts/_expanded.html.erb
+2
-0
2 additions, 0 deletions
app/views/posts/_expanded.html.erb
with
2 additions
and
0 deletions
app/views/posts/_expanded.html.erb
+
2
−
0
View file @
05d10b29
...
...
@@ -230,6 +230,8 @@
<%
end
%>
<%
end
%>
<%
end
%>
<%
end
%>
<%
if
check_your_privilege
(
'flag_curate'
)
%>
<a
href=
"javascript:void(0);"
data-modal=
"#mod-tools-
<%=
post
.
id
%>
"
class=
"tools--item"
>
<i
class=
"fa fa-wrench"
></i>
Tools
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment