Answers.Body: <p>Assuming you are interested in CiviCRM permissions rather than Drupal content, take a look at <a href="https://docs.civicrm.org/dev/en/latest/hooks/" rel="nofollow noreferrer">the Hooks section in the Developer guide</a>, specifically the Permission Hooks subsection.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-14T05:08:06.017Z
Answers.Text: I am using drupal as CMS. Depending upon user login, it should show the data depending upon user role.How can I match the CMS and CRM user?
Answers.UserDisplayName: Dipak Giri
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-14T12:26:50.757Z
Answers.Text: In that case, take a look at https://docs.civicrm.org/sysadmin/en/latest/integration/drupal/group-roles/ to sync between a Drupal Role and CiviCRM Group
Answers.UserDisplayName: Aidan
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-13T10:34:07.947Z
Answers.LastActivityDate: 2018-11-13T10:34:07.947Z
Answers.UserDisplayName: Aidan
Body: <p>I want to set a different values for different users(Read/write permission) by using php <strong>not by a customizing</strong> (Drupal menu - > People -> permission).<br></p>
  
Tags: <drupal><permissions>
Title: How can I change the user access permission (read write mode for different user) using drupal and civicrm?
ThreadText: # How can I change the user access permission (read write mode for different user) using drupal and civicrm?
  
  (Asked by: username_0 on 2018-11-12)
  
  I want to set a different values for different users(Read/write permission) by using php **not by a customizing** (Drupal menu - > People -> permission).
  
  **Tags:** drupal, permissions
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-11-13. Score: 1
  
  Assuming you are interested in CiviCRM permissions rather than Drupal content, take a look at [the Hooks section in the Developer guide](https://docs.civicrm.org/dev/en/latest/hooks/), specifically the Permission Hooks subsection.
  
  > **Comments:**
  > **username_0**: I am using drupal as CMS. Depending upon user login, it should show the data depending upon user role.How can I match the CMS and CRM user?  
  > **username_1**: In that case, take a look at https://docs.civicrm.org/sysadmin/en/latest/integration/drupal/group-roles/ to sync between a Drupal Role and CiviCRM Group  
  
  ---
  
  