mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
Cyland Admin should also not be able to register work
As per (AD-1504)[https://ascribe.atlassian.net/browse/AD-1504], Cyland admin should not be able to register work, but instead use another account to get loaned work.
This commit is contained in:
parent
1de06b0ac5
commit
e7c29d0d98
@ -70,7 +70,8 @@ let ROUTES = {
|
|||||||
<Route
|
<Route
|
||||||
path='register_piece'
|
path='register_piece'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(CylandRegisterPiece)}
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(CylandRegisterPiece)}
|
||||||
headerTitle='+ NEW WORK' />
|
headerTitle='+ NEW WORK'
|
||||||
|
aclName='acl_wallet_submit' />
|
||||||
<Route
|
<Route
|
||||||
path='collection'
|
path='collection'
|
||||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(CylandPieceList)}
|
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(CylandPieceList)}
|
||||||
|
Loading…
Reference in New Issue
Block a user