ACL fixes
gitea/salix/master This commit looks good
Details
gitea/salix/master This commit looks good
Details
This commit is contained in:
parent
d1341c2758
commit
8ddcd5a654
|
@ -87,7 +87,7 @@
|
|||
<section class="photo" ng-repeat="photo in photos">
|
||||
<section class="image" on-error-src
|
||||
ng-style="{'background': 'url(/api/dms/' + photo.dmsFk + '/downloadFile?access_token=' + $ctrl.accessToken + ')'}"
|
||||
zoom-image="dms/{{::photo.dmsFk}}/downloadFile?access_token={{::$ctrl.accessToken}}">
|
||||
zoom-image="/api/dms/{{::photo.dmsFk}}/downloadFile?access_token={{::$ctrl.accessToken}}">
|
||||
</section>
|
||||
</section>
|
||||
</vn-horizontal>
|
||||
|
|
|
@ -24,8 +24,7 @@
|
|||
"url": "/index?q",
|
||||
"state": "travel.index",
|
||||
"component": "vn-travel-index",
|
||||
"description": "Travels",
|
||||
"acl": ["developer"]
|
||||
"description": "Travels"
|
||||
}, {
|
||||
"url": "/:id",
|
||||
"state": "travel.card",
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
"params": {
|
||||
"worker": "$ctrl.worker"
|
||||
},
|
||||
"acl": ["developer"]
|
||||
"acl": ["hr"]
|
||||
}, {
|
||||
"url": "/pbx",
|
||||
"state": "worker.card.pbx",
|
||||
|
@ -81,7 +81,8 @@
|
|||
"url" : "/department",
|
||||
"state": "worker.department",
|
||||
"component": "vn-worker-department",
|
||||
"description": "Departments"
|
||||
"description": "Departments",
|
||||
"acl": ["hr"]
|
||||
}, {
|
||||
"url": "/phones",
|
||||
"state": "worker.card.phones",
|
||||
|
@ -89,7 +90,8 @@
|
|||
"description": "Phones",
|
||||
"params": {
|
||||
"worker": "$ctrl.worker"
|
||||
}
|
||||
},
|
||||
"acl": ["hr"]
|
||||
},
|
||||
{
|
||||
"url": "/dms",
|
||||
|
@ -101,7 +103,8 @@
|
|||
"url": "/index",
|
||||
"state": "worker.card.dms.index",
|
||||
"component": "vn-worker-dms-index",
|
||||
"description": "File management"
|
||||
"description": "File management",
|
||||
"acl": ["hr"]
|
||||
},
|
||||
{
|
||||
"url": "/create",
|
||||
|
@ -110,7 +113,8 @@
|
|||
"description": "Upload file",
|
||||
"params": {
|
||||
"worker": "$ctrl.worker"
|
||||
}
|
||||
},
|
||||
"acl": ["hr"]
|
||||
},
|
||||
{
|
||||
"url": "/:dmsId/edit",
|
||||
|
@ -119,7 +123,8 @@
|
|||
"description": "Edit file",
|
||||
"params": {
|
||||
"worker": "$ctrl.worker"
|
||||
}
|
||||
},
|
||||
"acl": ["hr"]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue