This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2413743
commit 9ead597
Showing
1 changed file
with
5 additions
and
5 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 |
---|---|---|
|
@@ -4,11 +4,11 @@ | |
-- Inserts 5 dummy users for testing, with slight differences | ||
-- 'Friend' and 'enemy' function like 'user', but we can use them to simulate 'other' users that may or may not be able to access certain things | ||
-- IDs 1-5, 1-5 | ||
INSERT INTO users (id, username, name, email, role) VALUES (1, 'Admin', 'Administrator Test', '[email protected]', 'admin'); | ||
INSERT INTO users (id, username, name, email, role) VALUES (2, 'Moderator', 'Moderator Test', '[email protected]', 'moderator'); | ||
INSERT INTO users (id, username, name, email, role) VALUES (3, 'User', 'User Test', '[email protected]', 'developer'); | ||
INSERT INTO users (id, username, name, email, role) VALUES (4, 'Friend', 'Friend Test', '[email protected]', 'developer'); | ||
INSERT INTO users (id, username, name, email, role) VALUES (5, 'Enemy', 'Enemy Test', '[email protected]', 'developer'); | ||
INSERT INTO users (id, username, email, role) VALUES (1, 'Admin', '[email protected]', 'admin'); | ||
INSERT INTO users (id, username, email, role) VALUES (2, 'Moderator', '[email protected]', 'moderator'); | ||
INSERT INTO users (id, username, email, role) VALUES (3, 'User', '[email protected]', 'developer'); | ||
INSERT INTO users (id, username, email, role) VALUES (4, 'Friend', '[email protected]', 'developer'); | ||
INSERT INTO users (id, username, email, role) VALUES (5, 'Enemy', '[email protected]', 'developer'); | ||
|
||
-- Full PATs for each user, with different scopes | ||
-- These are not legal PATs, as they contain all scopes- they mimic permissions of a logged in user | ||
|