Skip to content

Commit

Permalink
dbio: correct reassign() doc: raises InvalidUpdate
Browse files Browse the repository at this point in the history
  • Loading branch information
RayPlante committed Nov 19, 2024
1 parent c99d04e commit 0d811e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/nistoar/midas/dbio/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def reassign(self, who: str):
:param str who: the identifier for the user to set as the owner of this record
:raises NotAuthorized: if the calling user is not authorized to change the owner.
:raises ValueError: if the target user identifier is not recognized
:raises InvalidUpdate: if the target user identifier is not recognized or not legal
"""
if not self.authorized(ACLs.ADMIN):
raise NotAuthorized(self._cli.user_id, "change owner")
Expand Down

0 comments on commit 0d811e1

Please sign in to comment.