-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Flask-Security-Too as flask-security isn't maintained anymore
- Loading branch information
1 parent
4640a22
commit 43e5266
Showing
6 changed files
with
285 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,9 +12,9 @@ Synology Package Repository | |
3. Create the tables with `python manage.py create` | ||
4. Populate the database with some fake packages with `python manage.py populate` | ||
5. Add an user with `python manage.py user create -u Admin -e [email protected] -p adminadmin` | ||
6. Grant the created user with Administrator permissions `python manage.py user add_role -u [email protected] -r admin` | ||
7. Grant the created user with Package Administrator permissions `python manage.py user add_role -u [email protected] -r package_admin` | ||
8. Grant the created user with Developer permissions `python manage.py user add_role -u [email protected] -r developer` | ||
6. Grant the created user with Administrator permissions `python manage.py roles add [email protected] admin` | ||
7. Grant the created user with Package Administrator permissions `python manage.py roles add [email protected] package_admin` | ||
8. Grant the created user with Developer permissions `python manage.py roles add [email protected] developer` | ||
|
||
To reset the environment, clean up with `python manage.py clean`. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.