1
0
mirror of https://github.com/writeas/writefreely synced 2024-12-12 08:36:14 +01:00
writefreely/config
Matt Baer b3a36a3be7 Allow completely private instances, part 1
This is the start of all changes needed to support entirely private
instances, where all blogs are only visible to other authenticated users
on an instance (ref T576). It begins by changing how Handler methods check an
endpoint's permissions.

- Renames UserLevelLEVEL consts to UserLevelLEVELType
- Adds UserLevelLEVEL funcs with same names as previous consts. Each
  returns a UserLevel
- Adds a new UserLevelReader that restricts access based on app
  configuration. This is now used on collections and posts.
- Changes routing a bit so static files are always accessible
2019-06-16 18:55:50 -04:00
..
config.go Allow completely private instances, part 1 2019-06-16 18:55:50 -04:00
data.go Fix spacing around copyright notices 2018-12-31 01:05:26 -05:00
funcs.go Fix spacing around copyright notices 2018-12-31 01:05:26 -05:00
setup.go Make WriteFreely spacing consistent 2019-04-11 21:33:33 -04:00
validation.go Fix spacing around copyright notices 2018-12-31 01:05:26 -05:00