Skip to content

Commit 3855bfa

Browse files
committed
Initial work
1 parent b14029b commit 3855bfa

File tree

3 files changed

+55
-0
lines changed

3 files changed

+55
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
category: Student > Courses & Profile
3+
title: Self Account Creation
4+
---
5+
6+
7+
##
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
category: Student > Courses & Profile
3+
title: Self Account Creation
4+
---
5+
6+
### Enable Self Account Creation
7+
8+
Currently the only way to enable users to create their own accounts is to manually edit the submitty.json configuration file. The default location for this
9+
file is `/usr/local/submitty/config/submitty.json`. By default, `self_account_creation_allowed` is set to `false`. To enable it, change this to `true`.
10+
11+
### Email and User ID Requirements
12+
13+
Below are the current accepted requirements for user_ids.
14+
* If `all` is set to `true`, then `length` parameters are the only parameters checked.
15+
16+
* If `require_name` is true, then the user_id must start with and contain a certain amount of characters from the given name and/or family name.
17+
18+
* If the user does not have the character amount for the given part of the name, then !add fix!
19+
20+
* `given_first` determines whether the given name or family name must come first. (e.g. Test User -> userte vs teuser)
21+
22+
```json
23+
"user_id_requirements": {
24+
"all": true,
25+
"require_name": false,
26+
"min_length": 6,
27+
"max_length": 25,
28+
"name_requirements": {
29+
"given_first": false,
30+
"given_name": 2,
31+
"family_name": 4
32+
},
33+
"require_email": false,
34+
"email_requirements": {
35+
"whole_email": false,
36+
"whole_prefix": false,
37+
"prefix_count": 6
38+
}
39+
}
40+
```
41+
42+
```json
43+
"accepted_emails": {
44+
"gmail.com": true,
45+
"rpi.edu": true
46+
}
47+
```

navtreedata.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ var NAVTREE =
174174
[ "Course Creation", "/sysadmin/configuration/course_creation", null ],
175175
[ "Ansible Course Creation", "/sysadmin/configuration/ansible_course_creation", null ],
176176
[ "Setting up Version Control", "/sysadmin/configuration/version_control", null ],
177+
[ "Self Account Creation", "/sysadmin/configuration/self_account_creation", null ],
177178
[ "SAML Authentication", "/sysadmin/configuration/saml_authentication", null ],
178179
[ "Email Configuration", "/sysadmin/configuration/email_configuration", null ],
179180
[ "Registration Feed", "/sysadmin/configuration/registration_feed", null ],

0 commit comments

Comments
 (0)