Commit Graph

9 Commits

Author SHA1 Message Date
Howl
e4d27f8d6b Allow users with AdminManageUsers to see banned users
Also:
- General code refactoring
- Allow banned/restricted users to see their scores etc
- common.MethodData now contains UserPrivileges
- UserPrivileges have now their own type
- Implement md.HasQuery, to know if there's a GET querystring parameter or not
2016-08-27 12:04:12 +02:00
Howl
346f26177c Change all references to sql.DB to references to sqlx.DB 2016-08-15 13:45:42 +02:00
Howl
0a870ee742 Remove read privilege. Public data is now readable by everyone without having to pass an API token. Feel free to test around as much as you like! 2016-07-06 14:22:43 +02:00
Howl
cbcfacb06a Fix misplaced if 2016-06-16 13:14:19 +02:00
Howl
fc38503bdd add GET /tokens/self 2016-06-14 12:01:30 +02:00
Howl
a939d15779 Force private API keys to have Privileges write, read, read confidential 2016-05-15 07:20:11 +02:00
Howl
32029d963e We git.zxq.co now 2016-04-19 16:07:27 +02:00
Howl
d02f3f9951 Add token creation (login) 2016-04-05 22:22:13 +02:00
Howl
3ddab1de15 Initial commit 2016-04-03 19:59:27 +02:00