Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f876f926
authored
Jan 01, 2015
by
Bach Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: remove unnecessary perm check
parent
67622b86
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
circle/dashboard/views/node.py
+2
-2
No files found.
circle/dashboard/views/node.py
View file @
f876f926
...
...
@@ -245,8 +245,8 @@ class NodeDelete(SuperuserRequiredMixin, DeleteViewBase):
success_message
=
_
(
"Node successfully deleted."
)
def
check_auth
(
self
):
if
not
self
.
request
.
user
.
is_superuser
:
raise
PermissionDenied
()
# SuperuserRequiredMixin
pass
def
get_success_url
(
self
):
return
reverse_lazy
(
'dashboard.views.node-list'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment