Created
September 18, 2014 14:50
-
-
Save rherrick/7180ef23f6702495a726 to your computer and use it in GitHub Desktop.
Makes an XNAT user an admin. This requires the user to log out and back in again.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
insert into xdat_r_xdat_role_type_assign_xdat_user (xdat_user_xdat_user_id,xdat_role_type_role_name) values ((select xdat_user_id from xdat_user where login = '$USER$'),'Administrator'); | |
delete from xs_item_cache where contents like '%$USER$%'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment