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
572b1b8d
Commit
572b1b8d
authored
12 years ago
by
colemanw
Browse files
Options
Downloads
Patches
Plain Diff
Change permission for viewing a profile
parent
4bc223d1
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/UF/Form/Inline/PreviewById.php
+1
-1
1 addition, 1 deletion
CRM/UF/Form/Inline/PreviewById.php
with
1 addition
and
1 deletion
CRM/UF/Form/Inline/PreviewById.php
+
1
−
1
View file @
572b1b8d
...
...
@@ -54,7 +54,7 @@ class CRM_UF_Form_Inline_PreviewById extends CRM_UF_Form_AbstractPreview {
*/
function
preProcess
()
{
// Inline forms don't get menu-level permission checks
if
(
!
CRM_Core_Permission
::
check
(
'a
dminister
CiviCRM'
))
{
if
(
!
CRM_Core_Permission
::
check
(
'a
ccess
CiviCRM'
))
{
CRM_Core_Error
::
fatal
(
ts
(
'Permission denied'
));
}
$gid
=
CRM_Utils_Request
::
retrieve
(
'id'
,
'Positive'
);
...
...
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