Hey everyone,
I would like to create a custom role on my ontap cluster so that that bringing offline or deleting volumes/luns will only be able to those who contain the words "clone" or "restore" (or both).
I started with the volume offline with restore combination - security login role create -role test -cmd "volume offline" -query "-volume *restore*"
I created a local user and assigned him this role, however when I log in the cluster shell I'm able to bring down any volume, whether it contains "restore" or not.
Any idea what am I missing?
Thanks,