You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to update an existing permissions target with no user in the principal, the gem fails with an exception. I believe it's failing because the user portion of the principal is nil and abbreviate_principal is expecting it. This could cause a variety of issues since principal is not a required field in the PermissionTarget api, but the gem always uses it.
Steps to Reproduce:
Create a permission target with permissions assigned only by group, with no users. Attempt to update the repository list on the permissions target.
Expected Result:
The permissions target should update with the configuration parameters passed in to the request.
Version:
2.8.2
Environment:
RHEL7
Scenario:
When attempting to update an existing permissions target with no user in the principal, the gem fails with an exception. I believe it's failing because the user portion of the principal is nil and abbreviate_principal is expecting it. This could cause a variety of issues since principal is not a required field in the PermissionTarget api, but the gem always uses it.
Steps to Reproduce:
Create a permission target with permissions assigned only by group, with no users. Attempt to update the repository list on the permissions target.
Expected Result:
The permissions target should update with the configuration parameters passed in to the request.
Actual Result:
Thank you!
The text was updated successfully, but these errors were encountered: