add customer/event export permission
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
</section>
|
||||
<div class="bottom-actions">
|
||||
<t-button
|
||||
v-can="gaoPermissionCodes.customer.read"
|
||||
v-can="gaoPermissionCodes.customer.export"
|
||||
theme="primary"
|
||||
variant="outline"
|
||||
class="export bg-white"
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
<div v-if="recordList.length" class="load-state" v-text="loadStateText" />
|
||||
</div>
|
||||
<t-button
|
||||
v-can="gaoPermissionCodes.registrationEventRecord.read"
|
||||
v-can="gaoPermissionCodes.registrationEventRecord.export"
|
||||
class="export"
|
||||
theme="primary"
|
||||
:loading="exporting"
|
||||
|
||||
@@ -2,6 +2,7 @@ export const gaoPermissionCodes = {
|
||||
customer: {
|
||||
create: "GAO:CUSTOMER:CREATE",
|
||||
read: "GAO:CUSTOMER:READ",
|
||||
export: "GAO:CUSTOMER:EXPORT",
|
||||
update: "GAO:CUSTOMER:UPDATE",
|
||||
delete: "GAO:CUSTOMER:DELETE"
|
||||
},
|
||||
@@ -14,6 +15,7 @@ export const gaoPermissionCodes = {
|
||||
registrationEventRecord: {
|
||||
create: "GAO:REGISTRATION_EVENT_RECORD:CREATE",
|
||||
read: "GAO:REGISTRATION_EVENT_RECORD:READ",
|
||||
export: "GAO:REGISTRATION_EVENT_RECORD:EXPORT",
|
||||
update: "GAO:REGISTRATION_EVENT_RECORD:UPDATE",
|
||||
delete: "GAO:REGISTRATION_EVENT_RECORD:DELETE"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user