about summary refs log tree commit diff
path: root/spec/policies
AgeCommit message (Collapse)Author
2018-12-19Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
2018-12-19Add specs for AccountPolicy (#9575)ysksn
2018-12-19Add specs for AccountModerationNotePolicy (#9571)ysksn
2018-12-19Add specs for StatusPolicy (#9569)ysksn
2018-07-31Add test to disallow remote users from fetching local-only tootsThibaut Girka
2017-11-17Update StatusPolicy to check current_account for local_only? toots.David Yip
StatusPolicy#account was renamed to StatusPolicy#current_account in upstream. This commit renames the local-only changes to match and augments the #show? policy spec with what we expect for local-only toots.
2017-05-30Add status destroy authorization to policy (#3453)Jack Jennings
* Add status destroy authorization to policy * Create explicit unreblog status authorization
2017-05-30Fix incorrect visibility setter in StatusPolicySpec (#3456)Jack Jennings
2017-05-30Move status reblog authorization into policy (#3425)Jack Jennings
2017-05-29Extract authorization policy for viewing statuses (#3150)Jack Jennings