Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Backend - Engine
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
242
Issues
242
List
Boards
Labels
Service Desk
Milestones
Merge Requests
32
Merge Requests
32
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Backend - Engine
Commits
1231e20a
Commit
1231e20a
authored
16 minutes ago
by
Mark Harding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(fix): do not strict type in_array
parent
39d0fa76
master
No related merge requests found
Pipeline
#79210313
waiting for manual action with stages
in 10 minutes and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ACL.php
Core/Security/ACL.php
+1
-1
No files found.
Core/Security/ACL.php
View file @
1231e20a
...
...
@@ -101,7 +101,7 @@ class ACL
* And check the owner is the container_guid too
*/
if
(
in_array
(
$entity
->
getAccessId
(),
[
ACCESS_LOGGED_IN
,
ACCESS_PUBLIC
],
tru
e
)
in_array
(
$entity
->
getAccessId
(),
[
ACCESS_LOGGED_IN
,
ACCESS_PUBLIC
],
fals
e
)
&&
(
$entity
->
owner_guid
==
$entity
->
container_guid
||
$entity
->
container_guid
==
0
...
...
This diff is collapsed.
Click to expand it.
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