irods / python-irodsclient

A Python API for iRODS
Other
62 stars 72 forks source link

Prevent creating `iRODSUser` of type `rodsgroup` #541

Open alanking opened 2 months ago

alanking commented 2 months ago

Even though groups are just users without passwords in iRODS, it seems to me that it would be nice to keep the iRODSGroup and iRODSUser types separated completely by not allowing iRODSUsers of type rodsgroup or iRODSGroups of any type other than rodsgroup.

d-w-moore commented 2 months ago

And presumably, to go along with that, some future version of iRODS will also make a stronger distinction between users and groups, with such queries as this one returning zero rows.

$  iquest "select USER_ID where USER_NAME = 'public'"
USER_ID = 10001