Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API endpoint for allowing user groups to have access to utilize Sharing Connection Profile access for connections #8

Open
AustinLeath opened this issue Feb 28, 2022 · 7 comments

Comments

@AustinLeath
Copy link

Is there a PATCH API endpoint for adding permissions for user groups to access sharing connection profiles? I do not see it documented here.

@AustinLeath
Copy link
Author

Where I would expect it to be is under the "PATCH Assign Permissions to User Group" API endpoint image

@AustinLeath
Copy link
Author

AustinLeath commented Feb 28, 2022

Where I would expect it to be is under the "PATCH Assign Permissions to User Group" API endpoint image

As you can see in the image above, there is only the ability to allow READ permission for specific connections, but not specific sharing profiles within that connection:

{ "op": "add", "path": "/connectionPermissions/{{userGroup}}", "value": "READ" },

@AustinLeath
Copy link
Author

AustinLeath commented Mar 1, 2022

I asked this question in the guacamole mailing list and it looks like there is indeed a patch operation that is available for use. Here is the response that I got:
[ { op: "add", path: "/sharingProfilePermissions/<profile_id>", value: "READ" } ]

@AustinLeath
Copy link
Author

@ridvanaltun If I wanted to edit the Postman project that is listed in the readme how would I go about doing that? I have some things to add.

@ridvanaltun
Copy link
Owner

ridvanaltun commented Mar 1, 2022

@ridvanaltun If I wanted to edit the Postman project that is listed in the readme how would I go about doing that? I have some things to add.

I have never done but you can create a pull request via Postman: https://learning.postman.com/docs/collaborating-in-postman/version-control-for-collections/

or you can export and share your HTTP Request as a cURL command then I can update the Postman collection.

@ridvanaltun
Copy link
Owner

@ridvanaltun If I wanted to edit the Postman project that is listed in the readme how would I go about doing that? I have some things to add.

I have updated the Postman link, you can fork the collection and you can send PR. The old link was static and it was not forkable.

@AustinLeath
Copy link
Author

Thanks! I will take a look at this here in a few days,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants