1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-22 10:18:48 +02:00
phorge-phorge/src/applications/auth
epriestley 6b1c27eb0e Make "public" pastes meaningfully visible to logged-out users
Summary:
  - Introduce `shouldAllowPublic()`, indicating that logged-out users are OK in a controller if the install is configured to permit public policies.
  - Make Paste views and lists allow public users.
  - Make UI do sensible things with respect to disabling links, etc.
  - Improve behavior of "you need to login" with respect to policy exceptions and Ajax requests.

Test Plan: Looked at "public" paste, saw all unavailable UI disabled, clicked it, got appropraite prompts.

Reviewers: vrana, btrahan

Reviewed By: vrana

CC: aran

Maniphest Tasks: T603

Differential Revision: https://secure.phabricator.com/D3502
2012-09-30 19:44:09 -07:00
..
application Use sprites for all the menu icons 2012-08-14 14:20:01 -07:00
controller Make "public" pastes meaningfully visible to logged-out users 2012-09-30 19:44:09 -07:00
ldap Fall back to LDAP search attribute if username attribute is not configured 2012-09-03 06:41:49 -07:00
oauth/provider Fix one more issue for username "0". 2012-09-13 17:05:53 -07:00
view Adding 'Secure Browsing' config setting to Facebook OAuth. 2012-07-17 18:18:16 -07:00