Repository navigation
Conversation
|
Needs test. |
|
Looks as if we won't implement this, at least not in this way. close? |
|
I vote we leave it open / in draft until an alternative implementation presents itself. Is there a reason you want to close this? |
No reason. I think we decided it's best implemented as a specific query. |
|
We need to do more investigative work for #561. Let's keep this in draft for now. We can circle back once the 3.0.0 milestone is complete. |
|
Hm. Looks like I force-pushed over the old branch. Note for the future, don't do that. (Look for pre-existence of the branch name in GitHub. Duh.) Well, luckily I am very confident of the new code being better.... |
|
Will mark ready for review once I've run the tests through with rudra's changes included |
|
Cleaned up a bit. Will test soon. Hold off from further review until tests are passing. |
69a65ac to
68143c1
Compare
|
What is the current status of this? I see one unresolved review comment and a few github action workflow failures. |
|
@korydraughn I've been out Monday due to ill health but am getting back to it now. I see that there are source code issues to be addressed and have resolved the one comment. Will work on it today. |
|
squashed |
|
A test involving datetime failed. See https://github.com/irods/python-irodsclient/actions/runs/46281195999/job/141403524834?pr=602. Please investigate. Also, the commit message body of 6187c1f and db52401 seem incomplete? |
Under conditions (and it must be a server race condition, I believe, as all the client does is to invoke the Those two commits with incomplete messages probably need update locally? They've been squashed out and force-pushed over, in the github repo, as far as I can see. |
i wonder if there's a way to try that api apart from PRC. Does |
|
If the datetime test failures are unrelated to these changes, open an issue for the failures so that we can address it in a separate PR. No need to block this one for that.
It's not clear to me what you mean by squashed out and force-pushed over. Does your local branch reflect the commit messages shown in this PR? When I expand the commit messages for 6187c1f and db52401, I see the following. |
Ok I see now, you are correct. They were not removed, just not a part of the organizational timeline for the repo yet. This was what I saw (and still see) up top, when I click on those links:
That looks like a new thing to me. Not sure why they put that at the header of those commit pages, since seems to me it should be easy for GitHub to trace through the PR to the branch it refers to, and come up with the proper conclusions. |
|
When you go to your fork, do you see the SHAs I referenced in the branch? |
Evince the zone attribute of iRODSGroup objects. This attribute will always reflect the local zone name, since remote iRODS groups have no meaningful representation outside their own zones.
Provide __eq__ methods appropriate for iRODSUser and iRODSGroup objects. This also allows (iRODSUser_instance in iRODSGroup.members) to properly indicate user membership in a group.
A query is done to determine the highest permission level the given user (or group) has on the target collection/data_object. A specific query will be used if the calling user has the availability, otherwise a reasonably efficient general query is used instead.
|
They were at the time that the warning appeared. Probably no longer. There's been a force push as of this morning too, which reorganized some changes, but the overall changes only involve changing |
korydraughn
left a comment
There was a problem hiding this comment.
Do the commits that focus on iRODSGroup and zones introduce breaking changes?
|
|
||
| # Prior to fix, this would raise MultipleResultsFound | ||
| bob = self.sess.groups.get("bob") | ||
| finally: |
There was a problem hiding this comment.
I think this test needs to assert that bob is bob#<local_zone>. As it currently is, we don't know which bob is represented.
This test (or another one) should also verify that remote users can be identified.
There was a problem hiding this comment.
This test (or another one) should also verify that remote users can be identified.
You mean it should verify that they can be retrieved from the catalog without error? I can add that pretty easily.
Co-authored-by: Kory Draughn <korydraughn@renci.org>

Check if the
usernamed (may be a user or group) has privilege at or above the givenaccess_levelto the collection or data object named bypath