Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
justinfreeman (Agileware)
Core
Commits
7904c8b6
Commit
7904c8b6
authored
11 years ago
by
eileen
Browse files
Options
Downloads
Patches
Plain Diff
CRM-12322 remove multisite specific ACL portion as aclHook portion further down is better
parent
a14b710a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CRM/Core/Permission.php
+0
-9
0 additions, 9 deletions
CRM/Core/Permission.php
with
0 additions
and
9 deletions
CRM/Core/Permission.php
+
0
−
9
View file @
7904c8b6
...
...
@@ -500,15 +500,6 @@ class CRM_Core_Permission {
$session
=
CRM_Core_Session
::
singleton
();
$contactID
=
$session
->
get
(
'userID'
);
if
(
self
::
isMultisiteEnabled
())
{
// For multisite just check if there are contacts in acl_contact_cache table for now.
// FixMe: so even if a user in multisite has very limited permission could still
// see search / contact navigation options for example.
return
CRM_Contact_BAO_Contact_Permission
::
hasContactsInCache
(
CRM_Core_Permission
::
VIEW
,
$contactID
);
}
//check for acl.
$aclPermission
=
self
::
getPermission
();
if
(
in_array
(
$aclPermission
,
array
(
...
...
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