Answers.Body: <p>To answer your question: "What permission would just allow users to see their own results of this view?"</p>
  
  <p><strong>Views Solution</strong> (if users still need to be able to visit other users' user-pages)</p>
  
  <p>Picking up from Coleman's answer, using a contextual argument (we've used "CiviCRM Drupal match table: Drupal User ID" with success), you provide a "Default value" of 'User ID from the logged in user'.  Then, <em>to limit the view to be viewable by each user only</em>, scroll down in the contextual argument window and "Specify Validation Criteria" with a "Validator" of 'User'. Only allow 'Numeric UIDs' and for "Action to take if the filter value doesn't validate", choose 'Hide View.'</p>
  
  <p><a href="https://i.sstatic.net/4mXuZ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/4mXuZ.png" alt="enter image description here"></a></p>
  
  <p>When User X visits his/her own user-page, the view will display. However, when User X visits User Y's user-page, User X will not see the information the View provides.  </p>
  
  <p><strong>Drupal Permissions Solution</strong> (if users do not need to visit other users' user-pages)</p>
  
  <p>If authenticated users have the Drupal permission "View User Profiles" under the 'User' section, then all users who are logged in would be able to see the results of the view, if the view is otherwise unrestricted.  If you remove that permission, your view would be limited to the logged-in user only.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-07T19:00:25.907Z
Answers.Text: Thank you. I want them to be able to view the user profile for some information, but not for the information this view provides.
Answers.UserDisplayName: Zachary
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-07T22:16:49.400Z
Answers.Text: Hi Zachary, I've added a Views-only solution which I think will help.
Answers.UserDisplayName: Allen Hutchison
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-06T18:10:27.130Z
Answers.LastActivityDate: 2015-11-07T22:16:03.107Z
Answers.LastEditDate: 2015-11-07T22:16:03.107Z
Answers.UserDisplayName: Allen Hutchison
Answers.Body: <p>To get a Drupal View to show only the civi data that belongs to the current user, set up a View Relationship to join the Civi Contact to the Drupal User. Then add a Filter using 'current user = Yes'. Should do the job. Hopefully my terminology is close enough to what it says on the page</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-06T18:58:41.693Z
Answers.LastActivityDate: 2015-11-06T18:58:41.693Z
Answers.UserDisplayName: petednz - fuzion
Answers.Body: <p>You cannot embed a civicrm profile in a drupal view. Using the user id as an argument and a relationship to the contact, you should be able to construct a view that displays the contact data you want to show for the current user.</p>
  
  <p>In the view header or footer you can place a link to either a civicrm profile form or a drupal webform with <a href="https://drupal.org/project/webform_civicrm" rel="nofollow">civicrm integration</a> that will allow the logged-in user to edit their own contact record.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-06T17:12:59.533Z
Answers.Text: Thanks Coleman. My question might have been kind of weirdly asked, as usual :) I have made the view with the user ID as the arg and relationship to the current contact, but I am struggling with the view permissions. I can embed it on the user page, and the user can see it, but so can all of the other site users. What permission would just allow users to see their own results of this view?
Answers.UserDisplayName: Zachary
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-06T17:57:38.407Z
Answers.Text: Can you edit your question to reflect that please?
Answers.UserDisplayName: Coleman
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-06T16:20:59.420Z
Answers.LastActivityDate: 2015-11-06T16:20:59.420Z
Answers.UserDisplayName: Coleman
Body: <p>How do I create a view which is embedded in a Panel overriding the Drupal User Page, which shows the data from a CiviCRM profile ONLY to the currently logged in user, and that user has permission to see their own data in CiviCRM. The goal is to make a pane which shows some basic information about their civi contact record, so they can click a link, and edit it, and return to see it changed. Thanks!</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-11-06T18:05:09.603Z
Comments.Text: For the sake of clarity, you are not wanting to use the Drupal User page at all, correct?  So marking the Profile as 'Drupal User Registration' or 'View/Edit Drupal User Account' in the Profile Settings in Civi is not an option because that integrates into the Drupal User Page?
Comments.UserDisplayName: Allen Hutchison
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-11-07T18:58:57.787Z
Comments.Text: I am using the Panels module to override the /user page with a custom layout and views. I want to use the Views module to display CiviCRM fields that are pertaining to the currently logged in users CiviCRM record, and display them on their /user page as a panel pane. I do not want other users to see their private fields.
Comments.UserDisplayName: Zachary
Tags: <drupal-views>
Title: View of CiviCRM Profile Fields on Drupal User Edit Page Permissions
ThreadText: # View of CiviCRM Profile Fields on Drupal User Edit Page Permissions
  
  (Asked by: username_0 on 2015-11-05)
  
  How do I create a view which is embedded in a Panel overriding the Drupal User Page, which shows the data from a CiviCRM profile ONLY to the currently logged in user, and that user has permission to see their own data in CiviCRM. The goal is to make a pane which shows some basic information about their civi contact record, so they can click a link, and edit it, and return to see it changed. Thanks!
  
  **Tags:** drupal-views
  
  > **Comments:**
  > **username_1**: For the sake of clarity, you are not wanting to use the Drupal User page at all, correct?  So marking the Profile as 'Drupal User Registration' or 'View/Edit Drupal User Account' in the Profile Settings in Civi is not an option because that integrates into the Drupal User Page?  
  > **username_0**: I am using the Panels module to override the /user page with a custom layout and views. I want to use the Views module to display CiviCRM fields that are pertaining to the currently logged in users CiviCRM record, and display them on their /user page as a panel pane. I do not want other users to see their private fields.  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_1 on 2015-11-06. Score: 1 | Accepted answer
  
  To answer your question: "What permission would just allow users to see their own results of this view?"
  
  **Views Solution** (if users still need to be able to visit other users' user-pages)
  
  Picking up from username_3's answer, using a contextual argument (we've used "CiviCRM Drupal match table: Drupal User ID" with success), you provide a "Default value" of 'User ID from the logged in user'. Then, *to limit the view to be viewable by each user only*, scroll down in the contextual argument window and "Specify Validation Criteria" with a "Validator" of 'User'. Only allow 'Numeric UIDs' and for "Action to take if the filter value doesn't validate", choose 'Hide View.'
  
  [![enter image description here](https://i.sstatic.net/4mXuZ.png)](https://i.sstatic.net/4mXuZ.png)
  
  When User X visits his/her own user-page, the view will display. However, when User X visits User Y's user-page, User X will not see the information the View provides.
  
  **Drupal Permissions Solution** (if users do not need to visit other users' user-pages)
  
  If authenticated users have the Drupal permission "View User Profiles" under the 'User' section, then all users who are logged in would be able to see the results of the view, if the view is otherwise unrestricted. If you remove that permission, your view would be limited to the logged-in user only.
  
  > **Comments:**
  > **username_0**: Thank you. I want them to be able to view the user profile for some information, but not for the information this view provides.  
  > **username_1**: Hi username_0, I've added a Views-only solution which I think will help.  
  
  ---
  
  ### Answer by username_2 on 2015-11-06. Score: 3
  
  To get a Drupal View to show only the civi data that belongs to the current user, set up a View Relationship to join the Civi Contact to the Drupal User. Then add a Filter using 'current user = Yes'. Should do the job. Hopefully my terminology is close enough to what it says on the page
  
  
  ---
  
  ### Answer by username_3 on 2015-11-06. Score: 1
  
  You cannot embed a civicrm profile in a drupal view. Using the user id as an argument and a relationship to the contact, you should be able to construct a view that displays the contact data you want to show for the current user.
  
  In the view header or footer you can place a link to either a civicrm profile form or a drupal webform with [civicrm integration](https://drupal.org/project/webform_civicrm) that will allow the logged-in user to edit their own contact record.
  
  > **Comments:**
  > **username_0**: Thanks username_3. My question might have been kind of weirdly asked, as usual :) I have made the view with the user ID as the arg and relationship to the current contact, but I am struggling with the view permissions. I can embed it on the user page, and the user can see it, but so can all of the other site users. What permission would just allow users to see their own results of this view?  
  > **username_3**: Can you edit your question to reflect that please?  
  
  ---
  
  