Skip to content

Commit fff8da0

Browse files
committed
Chore: update local installation readme
Outline how to allocate admin permissions locally for a member
1 parent 413f004 commit fff8da0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

native-installation-instructions.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,14 @@ bundle exec rails server
8888
```bash
8989
bundle exec rake
9090
```
91+
92+
## Setting up a local admin user
93+
94+
- To assign admin permissions to a local user run the below commands using the member's email address.
95+
- Note that a member is effectively a user.
96+
97+
```bash
98+
rails c
99+
user = Member.find_by(email: '[email protected]')
100+
user.add_role :admin
101+
```

0 commit comments

Comments
 (0)