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

Add Auth Manage Projects example scripts #777

Merged
merged 4 commits into from
Jul 19, 2023

Conversation

sirosen
Copy link
Member

@sirosen sirosen commented Jul 6, 2023

This doc was written in tandem with development of the AuthClient methods which are used here to implement the script functionality. Basically, the script I was using for testing is here elaborated a bit, simplified a bit, and generally reshaped to be documentation-grade.


This doc PR is was a draft for two reasons:

  1. It is based on Implement AuthClient.delete_project #776 (done)
  2. It is blocked by a minor bug in update_project (see 9f59561 for details) We agreed to remove update functionality for now

📚 Documentation preview 📚: https://globus-sdk-python--777.org.readthedocs.build/en/777/

Due to a bug, admin_ids or group_admin_ids must be supplied when
performing an update. As a result, the prior version of this script
sets the current user as an admin and this necessitates warning text.

Remove that setting to avoid having a warning which is based around a
bug. This means that the example cannot be considered ready to release
until the bug is resolved.
This is blocked on a bug in the way that updates are handled vis-a-vis
admin_ids. Rather than holding back the whole doc, simply drop the
`update` functionality. It can be restored in the future.
@sirosen sirosen marked this pull request as ready for review July 18, 2023 20:27
@sirosen sirosen merged commit a3bc7f6 into globus:main Jul 19, 2023
13 checks passed
@sirosen sirosen deleted the manage-projects-example branch July 19, 2023 14:12
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

Successfully merging this pull request may close these issues.

2 participants