Commit Graph

41 Commits

Author SHA1 Message Date
Andrew Brown
066e5b386c user checks for authorizers 2021-07-05 02:46:19 -07:00
Andrew Brown
7d377795b6 Fix 2021-07-05 00:47:43 -07:00
Andrew Brown
53c34f3907 moderation work 2021-07-04 19:13:37 -07:00
Andrew Brown
35b6b57506 speed up all authorizers by short circuits 2021-07-02 17:54:37 -07:00
Andrew Brown
d52f8b3893 speed up document authorizer by skipping unnecessary queries 2021-07-02 17:48:43 -07:00
Andrew Brown
c47a1ae538 let shared universe owners see the docs in their own universe 2021-05-12 20:14:43 -07:00
Andrew Brown
c3fc82a973 almost forgot the authorizer 2021-05-11 00:25:18 -07:00
Andrew Brown
0948da77a0 show document/content view/edit links based on whether current user can actually view/edit, plus allow universe contributors to view-only docs in that universe 2021-05-10 23:54:57 -07:00
Andrew Brown
bc12318ace
Merge branch 'master' into document-ui-improvements 2020-10-02 01:04:52 -07:00
Andrew Brown
55a8cfa464 incorporate pagelookupsidebar 2020-09-18 18:06:42 -07:00
Andrew Brown
07d5024443 allow clicking a prepaid code to prepopulate activation box 2020-08-28 12:26:40 -07:00
Andrew Brown
f9e7db7e47 disambiguating permissions service referneces 2020-08-10 19:05:43 -07:00
Andrew Brown
2050140a73 update document authorizer to look at universe privacy setting also 2020-03-04 00:16:08 -06:00
Andrew Brown
c2bd3d44d0 unlock on promo codes 2019-11-27 14:50:27 -06:00
Andrew Brown
ed1e2b8fa5 this code is disgusting but at least it works 2019-07-07 00:36:46 -05:00
Andrew Brown
0bb844b5f8 nah this seems like a very bad idea 2019-07-07 00:12:36 -05:00
Andrew Brown
a786dd883a update permissions 2019-06-11 18:04:40 -05:00
Andrew Brown
9e3f8cf171 perms for user to create documents 2019-04-09 19:11:49 -05:00
Andrew Brown
c07c1036b6 add documents permissions + deletion logic frame 2018-10-18 13:23:06 -05:00
Andrew Brown
1bbb8e3577 this should not be checked in 2017-11-09 20:32:52 +02:00
Andrew Brown
1593fbf484 Use AttributeAuthorizer for attributes, attribute fields, and attribute categories 2017-11-09 19:12:44 +02:00
Andrew Brown
a6fd516b49 conclude october promo 2017-11-01 16:54:59 +02:00
Andrew Brown
c503825fd5 add boolean admin flag for forums 2017-10-29 01:11:32 +03:00
Andrew Brown
d1a42d87be blacklist abusive users from creating additional content 2017-10-28 23:21:08 +03:00
Andrew Brown
baf7d2795d Make everything free 2017-10-02 18:26:21 +02:00
Andrew Brown
67e83c2f43 Allow anyone on premium to create universes regardless of current subscription 2017-10-02 16:33:44 +02:00
Andrew Brown
0e972c186b we're legitimate hackers now 2017-08-17 03:28:55 +02:00
Andrew Brown
dfdc958ab8 it'll all be over soon 2017-08-17 02:35:38 +02:00
Andrew Brown
32cd18c7cf helper methods for contributable content types 2017-08-17 02:04:22 +02:00
Andrew Brown
477f64bdaa yak shaving permissions service 2017-08-17 01:40:35 +02:00
Andrew Brown
b132c6cc33 authorizer updates 2017-08-17 00:27:45 +02:00
Andrew Brown
5be74214cc allow leaving a universe as collaborator 2017-08-15 13:38:56 +02:00
Andrew Brown
4b57069fa6 Allow viewing/editing collaborative content 2017-08-15 04:47:30 +02:00
Andrew Brown
cf6cd4a53a Delete empty attribute categories after deleting the last attribute in them, fixes #191 2017-03-24 23:04:02 +00:00
Andrew Brown
3c785d21c6 Add temporary BP check so tests pass and deploy to heroku :) 2017-02-20 21:07:58 +00:00
Andrew Brown
c24af85bd1 Allow free-for-life users to create more than 5 universes 2017-02-20 20:53:25 +00:00
Andrew Brown
ca23954292 Make sure people on beta plans can create anything 2017-02-01 15:41:45 +00:00
Andrew Brown
7de7d7508d Allow users with no subscriptions to create up to 5 universes 2017-01-21 17:48:03 +00:00
Andrew Brown
be8d908a80 Move quick add form to partial + allow core content created by anyone 2017-01-21 17:46:53 +00:00
Andrew Brown
41ba0ba862 Use user's active subscriptions in authorizers for permission to create content 2017-01-21 16:41:45 +00:00
Andrew Brown
8ae77f4b67 Implement authority for user permissions 2017-01-14 00:06:33 +01:00