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 (Moderator: Dave Greenberg) »
  • access control in custom data help
Pages: [1]

Author Topic: access control in custom data help  (Read 1426 times)

lelizondob

  • Guest
access control in custom data help
October 31, 2007, 05:47:15 pm
Hi, i'm using drupal 5 and civicrm 1.9

I will try to explain myself with an example.

I have 2 types of individuals.

1. Members
2. Not Members

Only admins can register members, but anonymous can register themselves as not members, both need to enter this information:

1. First name
2. Last Name
3. Custom data 1
4. Custom data 2
5. Custom data 3

But only members are requested to enter the following data:

6. Custom data 4
7. custom data 5
8. custom data 6.

I've checked the user registration option when creating a profile, but since i use the drupal's user registration form to register a member in both cases, how can i make the custom data 4, 5, and 6 only be added by admins.

Remember, both individuals are requested to add custom data but custom data 4, 5, and 6 should only be added by admins, not by users, this is because it's critical information.

Thanks

Luis

Jason W

  • I post frequently
  • ***
  • Posts: 197
  • Karma: 12
  • jason@civitrainingtutorials.com
  • CiviCRM version: 4.2
  • CMS version: Drupal 7
  • MySQL version: 5.x
  • PHP version: 5.x.x
Re: access control in custom data help
September 20, 2012, 10:12:42 am
Hello Luis,

I think the easiest answer to your question is an ACL.

1) make certain that custom data 4,5, and 6 are in a separate custom profile from first, last, 1,2, and 3.

2) Make a group that only includes your admin.

3) in CiviCRM, go to Administer-->Users and Permissions-->Permissions(ACLs)
       a) Manage Roles- Create a role called Admin
       b) Assign Users to Roles- Assign the Admin Group to the Admin Role
       c) Manage ACLs-->Add an ACL - Description is whatever you like, Role=Admin, Operation=edit, type of data=a set of custom fields, Custom data= the set that contains fields 4,5, and 6.


This should help solve your issue.
Cheers,
Jason
civiTrainingTutorials
"Helping You Help Others"

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • access control in custom data help

This forum was archived on 2017-11-26.