Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Developer Documentation
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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
brienne
Developer Documentation
Commits
18dce5d1
Commit
18dce5d1
authored
7 years ago
by
Sean Madsen
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #211 from GinkgoFJG/patch-5
Updated Joomla-specific notes.
parents
18e4f4b9
2cd0f23c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/hooks/hook_civicrm_permission.md
+5
-5
5 additions, 5 deletions
docs/hooks/hook_civicrm_permission.md
with
5 additions
and
5 deletions
docs/hooks/hook_civicrm_permission.md
+
5
−
5
View file @
18dce5d1
...
...
@@ -9,6 +9,11 @@ This hook is called to allow custom permissions to be defined.
Available starting in 4.3, with permission descriptions supported
starting in 4.6.
Before 4.7.21, extension permissions did not work properly in Joomla (see
[
CRM-12059
](
https://issues.civicrm.org/jira/browse/CRM-12059
)
). CiviCRM
would recognize the permission but not give site administrators any way
to grant it to users.
## Definition
hook_civicrm_permission(&$permissions)
...
...
@@ -59,11 +64,6 @@ permissions, such as "create new item".
Like in Drupal 6's hook_perm, there is no automatic namespacing for
permissions, so one should adopt unique permission names.
Extension permissions do not currently work properly in Joomla (see
[
CRM-12059
](
https://issues.civicrm.org/jira/browse/CRM-12059
)
). CiviCRM
will recognize the permission, but you will have no way to grant it to
users.
## Example
The following is an excerpt from
[
the CiviCRM Monitoring for
...
...
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