ACl fixes
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
b39ec70a2c
commit
a7c2e08f8f
|
@ -1,6 +1,9 @@
|
|||
<div fixed-bottom-right>
|
||||
<vn-vertical style="align-items: center;">
|
||||
<a ui-sref="entry.card.buy.import" vn-bind="+">
|
||||
<a ui-sref="entry.card.buy.import"
|
||||
vn-bind="+"
|
||||
vn-acl="['buyer']"
|
||||
vn-acl-action="remove">
|
||||
<vn-button class="round md vn-mb-sm"
|
||||
icon="publish"
|
||||
vn-tooltip="Import buys"
|
||||
|
|
|
@ -56,7 +56,8 @@
|
|||
"description": "Summary",
|
||||
"params": {
|
||||
"entry": "$ctrl.entry"
|
||||
}
|
||||
},
|
||||
"acl": ["buyer", "administrative"]
|
||||
}, {
|
||||
"url": "/basic-data",
|
||||
"state": "entry.card.basicData",
|
||||
|
@ -64,7 +65,8 @@
|
|||
"description": "Basic data",
|
||||
"params": {
|
||||
"entry": "$ctrl.entry"
|
||||
}
|
||||
},
|
||||
"acl": ["buyer", "administrative"]
|
||||
},{
|
||||
"url": "/observation",
|
||||
"state": "entry.card.observation",
|
||||
|
@ -72,12 +74,14 @@
|
|||
"description": "Notes",
|
||||
"params": {
|
||||
"entry": "$ctrl.entry"
|
||||
}
|
||||
},
|
||||
"acl": ["buyer", "administrative"]
|
||||
},{
|
||||
"url" : "/log",
|
||||
"state": "entry.card.log",
|
||||
"component": "vn-entry-log",
|
||||
"description": "Log"
|
||||
"description": "Log",
|
||||
"acl": ["buyer", "administrative"]
|
||||
},
|
||||
{
|
||||
"url": "/buy",
|
||||
|
@ -92,7 +96,8 @@
|
|||
"description": "Buy",
|
||||
"params": {
|
||||
"entry": "$ctrl.entry"
|
||||
}
|
||||
},
|
||||
"acl": ["buyer", "administrative"]
|
||||
},
|
||||
{
|
||||
"url" : "/import",
|
||||
|
@ -101,7 +106,8 @@
|
|||
"description": "Import buys",
|
||||
"params": {
|
||||
"entry": "$ctrl.entry"
|
||||
}
|
||||
},
|
||||
"acl": ["buyer"]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue