Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
djangoldp-account
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
djangoldp-packages
djangoldp-account
Commits
b7907b26
Commit
b7907b26
authored
1 year ago
by
Benoit Alessandroni
Browse files
Options
Downloads
Patches
Plain Diff
fix: line
parent
ec4ec754
No related branches found
Branches containing commit
Tags
v3.0.4
Tags containing commit
1 merge request
!114
fix: bad duplicate on has_permission
Pipeline
#15885
passed
1 year ago
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
djangoldp_account/permissions.py
+1
-0
1 addition, 0 deletions
djangoldp_account/permissions.py
with
1 addition
and
0 deletions
djangoldp_account/permissions.py
+
1
−
0
View file @
b7907b26
...
...
@@ -26,6 +26,7 @@ def check_client_ip(request):
class
IPOpenPermissions
(
LDPPermissions
):
def
get_container_permissions
(
self
,
request
,
view
,
obj
=
None
):
'''
analyses the Model
'
s set anonymous, authenticated and owner_permissions and returns these
'''
from
djangoldp.models
import
Model
...
...
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