##// END OF EJS Templates
auth-token: expose fetched token in unified way into request attribute....
auth-token: expose fetched token in unified way into request attribute. - This will allow re-using exposed access token for HTTP views in single place - We will support also exposing tokens from url if special _auth_token will be used as url param - We'll no longer require double logic for extraction of URL/HEADER auth-tokens and have a single place to extract it.

File last commit:

r3658:b7b32afd default
r4002:5f150e86 default
Show More
user-admin-tasks.rst
24 lines | 621 B | text/x-rst | RstLexer

Common Admin Tasks for Users

Here is how to set a repository group as personal for a user using ishell.

# starts the ishell interactive prompt
$ rccontrol ishell enterprise-1
In [1]: repo_group = RepoGroup.get_by_group_name('some_group_name')
In [2]: user = User.get_by_username('some_user')
In [3]: repo_group.user = user
In [4]: repo_group.personal = True
In [5]: Session().add(repo_group);Session().commit()