Remove Unlock connector for Basic user
MODIFY
src/authorization/AuthorizationsDefinition.ts
src/authorization/AuthorizationsDefinition.ts
@@ -126,11 +126,6 @@ const AUTHORIZATION_DEFINITION: AuthorizationDefinition = {
condition: { Fn: 'LIST_CONTAINS', args: { 'sites': '$.site' } }
},
{ resource: Entity.CHARGING_STATIONS, action: Action.LIST, attributes: ['*'] },
- {
- resource: Entity.CHARGING_STATION,
- action: [Action.READ, Action.UNLOCK_CONNECTOR],
- attributes: ['*']
- },
{
resource: Entity.CHARGING_STATION,
action: [Action.REMOTE_START_TRANSACTION, Action.AUTHORIZE, Action.START_TRANSACTION],

Remove Unlock connector for Basic user