Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
opensipkd-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit cca1f051
authored
Dec 16, 2025
by
aa.gustiana@gmail.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Remove debug logging for permission checks in has_permission_ function
1 parent
afb124b9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
opensipkd/base/__init__.py
opensipkd/base/__init__.py
View file @
cca1f05
...
@@ -692,7 +692,7 @@ BASE_CLASS = BaseApp()
...
@@ -692,7 +692,7 @@ BASE_CLASS = BaseApp()
def
has_permission_
(
request
,
perm_names
,
context
=
None
):
def
has_permission_
(
request
,
perm_names
,
context
=
None
):
_logging
.
debug
(
f
"Has Permission: {perm_names} Context: {context}"
)
#
_logging.debug(f"Has Permission: {perm_names} Context: {context}")
if
not
perm_names
:
if
not
perm_names
:
return
True
return
True
if
isinstance
(
perm_names
,
str
):
if
isinstance
(
perm_names
,
str
):
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment