问题
I've played around with the Config settings a bit and searched the docs, but haven't been able to find any information on this.
Phacility's own Phabricator instance works this way a(nd I've seen other installations as well), so I assume that there must be a relatively simple way of setting this up, but haven't found it.
Specifically:
- How to get a Phabricator instance to switch to the default Dashboard, rather than the login view for anonymous users accessing the site?
- How to set visibility on tasks to default to "Public", rather than "All Users"?
Edit: Solved the issue with the dashboard not showing up - apparently, the settings of any individual panel in the dashboard overrule the dashboard settings.
To clarify: If one panel in the dashboard is set up to a higher restriction (e.g., "All Users" instead of "Public") than the dashboard itself is, then the Panel's restrictions override the restrictions set on the dashboard.
回答1:
How to show the default Dashboard, rather than the login view, for anonymous users
- Go to "Config"
- Go to "Policy"
- Go to "policy.allow-public"
- Set the Value to "Allow Public Visibility"
- Click "Save Config Entry"
NOTE: Once you have set the Public Dashboard, you will need to verify that all panels in that dashboard have public visibility.
How to set default visibility on tasks to "Public", rather than "All Users"
- Navigate to "Applications"
- Click the gear icon next to "Maniphest" (In newer versions the gear icon has been replaced with a "Configure" button.)
- Click "Edit Policies"
- Set the desired policy defaults
- Click Save Policies
来源:https://stackoverflow.com/questions/26136586/how-does-one-make-a-phabricator-instance-public