##// END OF EJS Templates
d-cache: don't init in includeme so we don't trigger s3 connections on startup of rcstack....
d-cache: don't init in includeme so we don't trigger s3 connections on startup of rcstack. The d-cache will be initied only when needed during first file download

File last commit:

r3658:b7b32afd default
r5487:c594e70d default
Show More
user-admin-tasks.rst
24 lines | 621 B | text/x-rst | RstLexer
/ docs / admin / user_admin / user-admin-tasks.rst
docs: personal repo group manual set instructions
r3658 .. _user-admin-tasks:
Common Admin Tasks for Users
----------------------------
Manually Set Personal Repository Group
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Here is how to set a repository group as personal for a user using ishell.
.. code-block:: bash
# starts the ishell interactive prompt
$ rccontrol ishell enterprise-1
.. code-block:: python
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()