##// END OF EJS Templates
fix(docs): fixed docs build
super-admin -
r5241:d4beb7f7 default
parent child Browse files
Show More
@@ -80,8 +80,9 b' 1) Start by running the interactive ishe'
80 2a) Add user called 'admin' into all repositories with write permission.
80 2a) Add user called 'admin' into all repositories with write permission.
81 Permissions can be also `repository.read`, `repository.admin`, `repository.none`
81 Permissions can be also `repository.read`, `repository.admin`, `repository.none`
82
82
83
83 .. code-block:: python
84 .. code-block:: python
84 :dedent: 1
85 :dedent:
85
86
86 In [1]: from rhodecode.model.repo import RepoModel
87 In [1]: from rhodecode.model.repo import RepoModel
87 In [2]: user = User.get_by_username('admin')
88 In [2]: user = User.get_by_username('admin')
@@ -94,7 +95,7 b" 2b) Add user called 'admin' into all rep"
94 Permissions can be also can be `group.read`, `group.admin`, `group.none`
95 Permissions can be also can be `group.read`, `group.admin`, `group.none`
95
96
96 .. code-block:: python
97 .. code-block:: python
97 :dedent: 1
98 :dedent:
98
99
99 In [1]: from rhodecode.model.repo import RepoModel
100 In [1]: from rhodecode.model.repo import RepoModel
100 In [2]: user = User.get_by_username('admin')
101 In [2]: user = User.get_by_username('admin')
@@ -108,7 +109,7 b' Delete a problematic pull request'
108 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
109 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
109
110
110 .. code-block:: python
111 .. code-block:: python
111 :dedent: 1
112 :dedent:
112
113
113 In [1]: from rhodecode.model.pull_request import PullRequestModel
114 In [1]: from rhodecode.model.pull_request import PullRequestModel
114 In [2]: pullrequest_id = 123
115 In [2]: pullrequest_id = 123
General Comments 0
You need to be logged in to leave comments. Login now