CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Challenge with CiviCRM and Joomla ACL
Pages: [1]

Author Topic: Challenge with CiviCRM and Joomla ACL  (Read 925 times)

petorian

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.0.5
  • CMS version: Joomla 1.7
  • MySQL version: 5.0.77
  • PHP version: 5.2.17
Challenge with CiviCRM and Joomla ACL
September 26, 2011, 05:32:19 am
I try to accomplish:

Having a smart group (A) of contacts that can only be viewed by members of another group (B)
So I created a Role (role_B) which contains group B.
Then I created an ACL:
Type of data: "A group of contacts"
Group: A
Operation: Edit
Role: role_B

But now still all users are able to view all contatcs.
I searched and found an article (search in google for "CiviCRM Access Control (ACLs) Demystified") 
Translating this to Joomla, I Made sure I denied access to "CiviCRM: view all contacs", but this resulted in noone be able to view any contatcs.
The only other option in Joomla seems to be to allowed access to "CiviCRM: view all contacts ", but this resulted in all users being able to view all contatcs...

How can the setup in the link above work in Joomla as it is a all or nothing situation?

Dennis

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Challenge with CiviCRM and Joomla ACL
September 26, 2011, 07:56:20 am

I was looking at the permissioning code in CiviCRM yesterday, specifically the one that handles civicrm acls with joomla. The code has not yet been upgraded to use the new permissioning capabilities of civicrm + joomla.

If you have the skills would be great if you can migrate the permissioning code to joomla also (for 4.1). That would be great and help ensure that it does make it into the 4.1 release. If you need help getting started, ping us on IRC

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

alanski

  • I post frequently
  • ***
  • Posts: 216
  • Karma: 5
  • Cup of tea? Yes please
    • Joomkit
  • CiviCRM version: Version in post
  • CMS version: Joomla
  • MySQL version: 5.0
Re: Challenge with CiviCRM and Joomla ACL
December 08, 2011, 02:09:11 am
How does this ACL question above relate to the ACL integration we helped fund on 1.6?
Be great to clarify the status of Joomla ACL integration now Joomla 1.6 is dead and 2.5 is imminent

What's the best Joomla / CIvi users can hope for now and in the future in terms of ACL integration? Just some kind of permission mapping from Joomla to Civi or a more tightly fine grained approach?

I dont see ACL for Joomla on the make it happen board - or access to older 'make it happens' or a status update on them. As a partial mini funder it would be great to have this clarified.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Challenge with CiviCRM and Joomla ACL
December 08, 2011, 07:14:57 am

The ACL integration which was an MIH and was funded thanx to you and other folks was integration of the civicrm permissioning system with joomla's permissioning system. This was done and is part of 4.0 and folks have reported that it works fine in 4.0 and J1.6 / J1.7

This is an extension beyond that which now support using CiviCRM ACL's (which are on top of the permissioning system) with Joomla. This allows even finer grained control over various aspects of data display. This was not part of the original MIH work.

I suspect this is a much smaller project, 20 hours or so, which includes tests and docs. If folks are interested let us know

lobo


A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Challenge with CiviCRM and Joomla ACL

This forum was archived on 2017-11-26.