Body: <p>For each of our member organizations, we define relationships between each org and individuals so individuals can inherit the organization's membership.</p>
  <p>For each organization, we grant one of the individuals with a permissioned relationship so they can update their organizational contact details.</p>
  <p>We recently launched an event registration form in civiEvent. And we've discovered that when an individual signs up for an event, if they had a permissioned relationship with the organization, that permissioned relationship is disabled. We can see in the Change log the permission states being changed from 1 to 0.</p>
  <p>Can anyone shed light on why this would occur when they register for an event?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-10-29T02:27:21.657Z
Comments.Text: it could be helpful if you could replicate this issue on eg dmaster.demo.civicrm.org, so we can get it lodged as a bug if it exists there too
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-10-29T15:26:02.457Z
Comments.Text: Thanks for that suggestion. I did test on dmaster.demo -- and it doesn't happen, although I note that dmaster.demo is version 5.44 and I'm running 5.42.1.
Comments.UserDisplayName: A. Block
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-10-30T20:49:05.000Z
Comments.Text: Try on http://drupal.demo.civicrm.org/civicrm/dashboard?reset=1 if you want to compare to a 'released' version
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-10-30T20:49:47.660Z
Comments.Text: Suggesting this because what you are describing sounds incorrect, and am trying to confirm if a/ you have something unusual affecting your site or b/ this is a bug that has been fixed
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-11-02T13:48:43.320Z
Comments.Text: Are you using the 'related permissions' extension? If so, does (this)[https://github.com/eileenmcnaughton/nz.co.fuzion.relatedpermissions/issues/35] describe your issue?  And does the PR fix it?  If so, please leave a comment on that PR.
Comments.UserDisplayName: Aidan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-11-04T19:19:17.910Z
Comments.Text: and the rest of the url .... /issues/35. guessing comments cut them short
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-11-09T21:06:55.853Z
Comments.Text: Yes, that is the issue -- I actually connected with Brian, who posted the issue and PR
Comments.UserDisplayName: A. Block
Tags: <civievent><permissions>
Title: Permissioned relationships removed when contact registers for an Event
ThreadText: # Permissioned relationships removed when contact registers for an Event
  
  (Asked by: username_0 on 2021-10-28)
  
  For each of our member organizations, we define relationships between each org and individuals so individuals can inherit the organization's membership.
  
  For each organization, we grant one of the individuals with a permissioned relationship so they can update their organizational contact details.
  
  We recently launched an event registration form in civiEvent. And we've discovered that when an individual signs up for an event, if they had a permissioned relationship with the organization, that permissioned relationship is disabled. We can see in the Change log the permission states being changed from 1 to 0.
  
  Can anyone shed light on why this would occur when they register for an event?
  
  **Tags:** civievent, permissions
  
  > **Comments:**
  > **username_1**: it could be helpful if you could replicate this issue on eg dmaster.demo.civicrm.org, so we can get it lodged as a bug if it exists there too  
  > **username_0**: Thanks for that suggestion. I did test on dmaster.demo -- and it doesn't happen, although I note that dmaster.demo is version 5.44 and I'm running 5.42.1.  
  > **username_1**: Try on http://drupal.demo.civicrm.org/civicrm/dashboard?reset=1 if you want to compare to a 'released' version  
  > **username_1**: Suggesting this because what you are describing sounds incorrect, and am trying to confirm if a/ you have something unusual affecting your site or b/ this is a bug that has been fixed  
  > **username_2**: Are you using the 'related permissions' extension? If so, does (this)[https://github.com/eileenmcnaughton/nz.co.username_1.relatedpermissions/issues/35] describe your issue?  And does the PR fix it?  If so, please leave a comment on that PR.  
  > **username_1**: and the rest of the url .... /issues/35. guessing comments cut them short  
  > **username_0**: Yes, that is the issue -- I actually connected with Brian, who posted the issue and PR  
  
  ---
  
  ## 0 answers
  
  