Body: <p>My use case is two totally different types of membership: full and academic. Each profile uses different custom fields. I want the right profile to be used on the Drupal user account page, according to which type of user it is, so I set both to be used on the account edit page. By default, both profiles are then shown on the user account page. I want a user who has full membership to be able to see/edit their full profile and not see/edit an academic profile - and vice versa.</p>
  
  <p>Proposed solution:</p>
  
  <ul>
  <li>Turn off Drupal permission for Profile editing and use ACLs.  </li>
  <li>Create two Access Control groups in CiviCRM : Member profile user, and Academic
     profile user </li>
  <li>Create two ACL roles: Member profile user, and Academic profile user </li>
  <li>Assign each role to its respective group </li>
  <li>Give each role permission to edit its respective profile</li>
  </ul>
  
  <p>This seems to work well, but is there a better way of doing this - and/or any unforeseen consequences to this method?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-05-04T20:08:20.177Z
Comments.Text: If that works then is seems a reasonable approach. A route i would probably have explored was a Webform assuming that you can a/ control who sees which webform and b/ set the webform to show on the page you require
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-05-06T08:46:46.770Z
Comments.Text: Thank you @petednz-fuzion. My problem is that as a non-developer, CiviCRM Webform is quite daunting, especially in Drupal 8, and with almost no documentation I can find. I have tried it out, but quickly get stuck in configuring it. Am I missing any good documentation somewhere?
Comments.UserDisplayName: Edward Peters
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-05-06T19:36:15.757Z
Comments.Text: yes it is a bit different to d7. might be easier if i offer a short tour - PM me - c/- fuzion.co.nz
Comments.UserDisplayName: petednz - fuzion
Tags: <profile><user-account><drupal-8>
Title: What is best recipe for Drupal 8 user to see correct Profile on user account?
ThreadText: # What is best recipe for Drupal 8 user to see correct Profile on user account?
  
  (Asked by: username_0 on 2020-05-04)
  
  My use case is two totally different types of membership: full and academic. Each profile uses different custom fields. I want the right profile to be used on the Drupal user account page, according to which type of user it is, so I set both to be used on the account edit page. By default, both profiles are then shown on the user account page. I want a user who has full membership to be able to see/edit their full profile and not see/edit an academic profile - and vice versa.
  
  Proposed solution:
  
  * Turn off Drupal permission for Profile editing and use ACLs.
  * Create two Access Control groups in CiviCRM : Member profile user, and Academic
    profile user
  * Create two ACL roles: Member profile user, and Academic profile user
  * Assign each role to its respective group
  * Give each role permission to edit its respective profile
  
  This seems to work well, but is there a better way of doing this - and/or any unforeseen consequences to this method?
  
  **Tags:** profile, user-account, drupal-8
  
  > **Comments:**
  > **username_1**: If that works then is seems a reasonable approach. A route i would probably have explored was a Webform assuming that you can a/ control who sees which webform and b/ set the webform to show on the page you require  
  > **username_0**: Thank you @petednz-fuzion. My problem is that as a non-developer, CiviCRM Webform is quite daunting, especially in Drupal 8, and with almost no documentation I can find. I have tried it out, but quickly get stuck in configuring it. Am I missing any good documentation somewhere?  
  > **username_1**: yes it is a bit different to d7. might be easier if i offer a short tour - PM me - c/- fuzion.co.nz  
  
  ---
  
  ## 0 answers
  
  