Skip to content
Snippets Groups Projects
Commit 2cd0f23c authored by ginkgofjg's avatar ginkgofjg Committed by GitHub
Browse files

Updated Joomla-specific notes.

Updated to reflect that a fix has been merged. Moved warning to the top where it is more likely to be useful. Also, seems more appropriate as a "note" than a "convention" or "tip."
parent 18e4f4b9
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment