deleted authorization to import for siteAdmin
MODIFY
src/authorization/AuthorizationsDefinition.ts
src/authorization/AuthorizationsDefinition.ts
@@ -691,13 +691,6 @@ const AUTHORIZATION_DEFINITION: AuthorizationDefinition = {
'notificationsActive', 'notifications', 'phone', 'mobile', 'iNumber', 'costCenter', 'address'
],
},
- {
- resource: Entity.USERS, action: Action.IMPORT, attributes: [
- 'id', 'name', 'firstName', 'email', 'role', 'status', 'issuer', 'createdOn', 'createdBy',
- 'lastChangedOn', 'lastChangedBy', 'eulaAcceptedOn', 'eulaAcceptedVersion', 'locale',
- 'billingData.customerID', 'billingData.lastChangedOn'
- ]
- },
{
resource: Entity.USERS_SITES, action: [Action.LIST, Action.UNASSIGN],
condition: {
@@ -775,7 +768,7 @@ const AUTHORIZATION_DEFINITION: AuthorizationDefinition = {
action: [Action.CREATE, Action.READ, Action.UPDATE, Action.DELETE],
args: { 'sites': '$.site' }
},
- { resource: Entity.TAGS, action: [Action.EXPORT, Action.IMPORT], attributes: ['*'] },
+ { resource: Entity.TAGS, action: Action.EXPORT },
{
resource: Entity.TAG, action: [Action.CREATE, Action.UPDATE, Action.DELETE],
condition: {

deleted authorization to import for siteAdmin