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) »
  • Profiles vs. Advanced Search
Pages: [1]

Author Topic: Profiles vs. Advanced Search  (Read 1198 times)

yamba

  • Guest
Profiles vs. Advanced Search
December 12, 2007, 05:41:34 pm
Hi,

I'm using CiviCRM 1.9 with Drupal 5.3.  In Drupal, when I go in Administer > Access Control, the options profile listings and forms and access all custom data are disabled for all the roles (except admin).

Then, when I log with any user and I go in Find Contacts > Advanced Search, all the existing profiles are listed in the Search Views drop down.  I was expecting to have a list of profiles matching the profile ACLs defined. Is it a bug or the intention is to show the whole list?  Now, since all the users have access to all the profiles for the search view, they can try to perform a search that results in a error page being displayed since they don't have the appropriate access.   

Thanks

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Profiles vs. Advanced Search
December 12, 2007, 05:55:46 pm
I guess this is a "use case" for permissioning access to Profiles that we didn't anticipate. Are your "admin" users actually using the Profiles as Search Views? Would be helpful to understand better the context and your requirements for various roles.

That said, it seems to me that the Search Views drop-down should be affected by permissioning - and should probably be suppressed completely for users w/o 'profile listings and forms' access. You could file an issue for 2.0 for this - with a patch if you have the resources to do so.
Protect your investment in CiviCRM by  becoming a Member!

yamba

  • Guest
Re: Profiles vs. Advanced Search
December 12, 2007, 06:12:57 pm
Thanks for the quick reply.

I'm using civicrm for an organisation in with a lot of user roles, with different and precise business functions.  That's  why the profile feature is the key in my case.  I have 10 to 15 user roles, with 2 or 3 profiles eached.  The ACL are configured to match those divisions.  So far, everything is almost perfect :)

The situation I want to avoid, is a user going in advanced search and  has a drop down with 30 options and only 3 usable for his role.

I will file an issue as you suggest. For the patch, I would be glad to contribute to CiviCRM. I'm just starting to be confortable with the application and as soon as possible, I'll go through the development guidelines.  Until Christmas, my main contribution will be with the fr_CA locale translation...

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Profiles vs. Advanced Search

This forum was archived on 2017-11-26.