Skip to content

Commit fbd99cf

Browse files
Super user documentation (#286)
* Super user documentation * Added guide for creating super user * Minor changes * Add reference in index file * Apply suggestions from code review Formating changes, Co-authored-by: Jeremy-Prior <[email protected]> --------- Co-authored-by: Jeremy-Prior <[email protected]>
1 parent 6afafb4 commit fbd99cf

File tree

15 files changed

+92
-1
lines changed

15 files changed

+92
-1
lines changed
9.59 KB
Loading
39.9 KB
Loading
54.7 KB
Loading
43 KB
Loading
89.3 KB
Loading
98.9 KB
Loading

docs/src/administrator/guide/index.md

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,4 +134,42 @@ To access the `Usage Statistics`, click on the profile icon in the top navigatio
134134

135135
**Navigation Tip:**
136136

137-
Users can easily access detailed information by clicking on the name of the respective table in the `Usage Statistics` section. Additionally, they can scroll through the tables to explore the variety of insights available at a glance.
137+
Users can easily access detailed information by clicking on the name of the respective table in the `Usage Statistics` section. Additionally, they can scroll through the tables to explore the variety of insights available at a glance.
138+
139+
## Creating a SuperUser
140+
141+
- Open the terminal.
142+
143+
Run ```docker exec -ti saeoss_ckan-web_1 poetry run ckan sysadmin add admin```
144+
145+
![create superuser command](./img/superuser-1.png)
146+
147+
The user is expected to input either `Y` for Yes or `n` for No based on their intention to create a superuser.
148+
149+
![confirmation](./img/superuser-2.png)
150+
151+
Enter the required information for creating the superuser account
152+
153+
![enter information](./img/superuser-3.png)
154+
155+
## Converting a Normal User to a SuperUser
156+
157+
```bash
158+
docker exec -ti saeoss_ckan-web_1 poetry run ckan sysadmin add <username>
159+
```
160+
Replace the `username` with the desired user's username.
161+
162+
![convert the normal user to a super user](./img/superuser-4.png)
163+
164+
Before the superuser privileges
165+
166+
![Bob002 as a normal user](./img/superuser-5.png)
167+
168+
After the superuser privileges
169+
170+
![Bob002 as a superuser](./img/superuser-6.png)
171+
172+
**Security Tips:**
173+
174+
- Keep SuperUser credentials secure.
175+
- Regularly update SuperUser credentials for enhanced security.
9.59 KB
Loading
39.9 KB
Loading
54.7 KB
Loading

0 commit comments

Comments
 (0)