ysksn
6a2d030c2f
Add specs for ReportNotePolicy ( #9592 )
6 years ago
ysksn
b93e317886
Add specs for policies ( #9591 )
...
* Add spec for RelayPolicy
* Add specs for SubscriptionPolicy
* Add specs for SettingsPolicy
* Add specs for TagPolicy
* Add specs for ReportPolicy
6 years ago
ysksn
be9640bfc2
Add specs for UserPolicy ( #9593 )
6 years ago
ysksn
d649d84594
Add specs for InvitePolicy ( #9589 )
6 years ago
ysksn
44189c33d1
Add specs for EmailDomainBlockPolicy ( #9586 )
6 years ago
ysksn
08cb8a1ff3
Add specs for InstancePolicy ( #9587 )
6 years ago
ysksn
e181f99739
Add specs for DomainBlockPolicy ( #9585 )
6 years ago
ysksn
5088213f5e
Add specs for CustomEmojiPolicy ( #9584 )
6 years ago
ysksn
5d724aa129
Add specs for BackupPolicy ( #9576 )
6 years ago
ysksn
af56efdec5
Add specs for AccountPolicy ( #9575 )
6 years ago
ysksn
0a1ade4f02
Add specs for AccountModerationNotePolicy ( #9571 )
6 years ago
ysksn
102e4cfa32
Add specs for StatusPolicy ( #9569 )
6 years ago
Thibaut Girka
9f2945ef80
Add test to disallow remote users from fetching local-only toots
6 years ago
David Yip
f6355f6ffb
Update StatusPolicy to check current_account for local_only? toots.
...
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.
7 years ago
Jack Jennings
33f669a5f8
Add status destroy authorization to policy ( #3453 )
...
* Add status destroy authorization to policy
* Create explicit unreblog status authorization
8 years ago
Jack Jennings
22cf18e16f
Fix incorrect visibility setter in StatusPolicySpec ( #3456 )
8 years ago
Jack Jennings
e031fd60ad
Move status reblog authorization into policy ( #3425 )
8 years ago
Jack Jennings
3a2003ba86
Extract authorization policy for viewing statuses ( #3150 )
8 years ago