Share Permissions (#761)
* Share restrictions * Tweak language, add spec
This commit is contained in:
@@ -5,6 +5,7 @@ import {
|
||||
DocumentIcon,
|
||||
ProfileIcon,
|
||||
SettingsIcon,
|
||||
PadlockIcon,
|
||||
CodeIcon,
|
||||
UserIcon,
|
||||
LinkIcon,
|
||||
@@ -61,6 +62,11 @@ class SettingsSidebar extends React.Component<Props> {
|
||||
Details
|
||||
</SidebarLink>
|
||||
)}
|
||||
{user.isAdmin && (
|
||||
<SidebarLink to="/settings/security" icon={<PadlockIcon />}>
|
||||
Security
|
||||
</SidebarLink>
|
||||
)}
|
||||
<SidebarLink to="/settings/people" icon={<UserIcon />}>
|
||||
People
|
||||
</SidebarLink>
|
||||
|
||||
Reference in New Issue
Block a user