Skip to content

Commit 3fa7b21

Browse files
refactor: defined roles do in role selection and refactored readme (#556)
* refactor: defined roles do in role selection and refactored readme * Update README.md Co-authored-by: Peter Kos <[email protected]>
1 parent 74fdd70 commit 3fa7b21

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,14 @@ $ bin/rails s # short for bin/rails server
108108

109109
6. Visit http://localhost:3000/apply, create an account, and complete an application
110110

111-
7. In another bash window, promote your user to an admin
111+
7. In another bash window, promote your user to a director
112112

113113
```bash
114114
$ cd hackathon-manager
115115
$ bin/rails c # short for bin/rails console
116116
# Wait for the console to start...
117117
Loading development environment (Rails 5.1.1)
118-
irb(main):001:0> User.last.update_attribute(:role, :admin)
118+
irb(main):001:0> User.last.update_attribute(:role, :director)
119119
```
120120

121121
8. Visit http://localhost:3000/manage and set up the hackathon as needed

config/locales/en.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,11 @@ en:
4545
If many people have already RSVP'd, consider sending a message out to this bus list asking for interest as well.
4646
notes: Notes are shared with applicants. Supports Markdown and HTML.
4747
user:
48-
role: Limited access prevents the admin from adding, modifying, or deleting any records; modifications through the check-in process are allowed. Event tracking limits to only event tracking.
48+
role: |
49+
Users can only access and edit their own information <br/>
50+
Volunteers can only access the check-in process <br/>
51+
Organizers can not modify, add, or delete any records but can view questionnaires and other records <br/>
52+
Directors do not have any restrictions and can add, edit, or delete any record or setting <br/>
4953
is_active: Deactivating a user will prevent them from logging in. Their access will be immediately revoked from the admin and application pages.
5054
receive_weekly_report: A weekly email report on admissions, bus lists, and messages. Only sent when there are weekly updates up until 7 days past the event. Disabled for inactive staff members.
5155
message:

0 commit comments

Comments
 (0)