Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
djangoldp-circle
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-circle
Commits
d11b79a3
Commit
d11b79a3
authored
1 year ago
by
Benoit Alessandroni
Browse files
Options
Downloads
Plain Diff
Merge branch 'remove_depth' into 'master'
update: remove depth on circles See merge request
!62
parents
89766d74
4beb0502
No related branches found
Branches containing commit
Tags
v3.1.7
Tags containing commit
1 merge request
!62
update: remove depth on circles
Pipeline
#16800
passed
1 year ago
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
djangoldp_circle/models.py
+1
-1
1 addition, 1 deletion
djangoldp_circle/models.py
with
1 addition
and
1 deletion
djangoldp_circle/models.py
+
1
−
1
View file @
d11b79a3
...
@@ -55,7 +55,7 @@ class Circle(Model):
...
@@ -55,7 +55,7 @@ class Circle(Model):
ordering
=
[
'
pk
'
]
ordering
=
[
'
pk
'
]
empty_containers
=
[
"
owner
"
]
empty_containers
=
[
"
owner
"
]
auto_author
=
'
owner
'
auto_author
=
'
owner
'
depth
=
1
# Disabled due to owner being serialized
#
depth = 1 # Disabled due to owner being serialized
permission_classes
=
[
IPOpenPermissions
|
(
AnonymousReadOnly
&
InheritPermissions
&
(
JoinCirclePermission
|
PublicPermission
|
ACLPermissions
))]
permission_classes
=
[
IPOpenPermissions
|
(
AnonymousReadOnly
&
InheritPermissions
&
(
JoinCirclePermission
|
PublicPermission
|
ACLPermissions
))]
permission_roles
=
{
permission_roles
=
{
'
members
'
:
{
'
perms
'
:
[
'
view
'
],
'
add_author
'
:
True
},
'
members
'
:
{
'
perms
'
:
[
'
view
'
],
'
add_author
'
:
True
},
...
...
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