HomePhabricator

Don't show a "Manage" button in Legalpad if the user is signing a TOS document

Description

Don't show a "Manage" button in Legalpad if the user is signing a TOS document

Summary:
When a TOS-like Legalpad document is marked "Require this document to use Phabricator", the login prompt shows a "Manage" button, but that button doesn't work.

When we're presenting a document as a session gate, don't show "Manage".

Test Plan: Viewed a required document during a session gate (no "Manage" button) and normally (saw "Manage" button).

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D20312

Details

Provenance
epriestleyAuthored on Mar 22 2019, 4:32 PM
epriestleyPushed on Mar 25 2019, 6:30 PM
Reviewer
amckinley
Differential Revision
D20312: Don't show a "Manage" button in Legalpad if the user is signing a TOS document
Parents
rP930cc7a6dd70: Generalize Legalpad validation logic for "Require Signature"
Branches
Unknown
Tags
Unknown
Build Status
Buildable 22357
Build 30588: Run Core Tests