Put back read charging station auth
MODIFY
src/authorization/AuthorizationsDefinition.ts
src/authorization/AuthorizationsDefinition.ts
@@ -126,6 +126,9 @@ 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], attributes: ['*']
+ },
{
resource: Entity.CHARGING_STATION,
action: [Action.REMOTE_START_TRANSACTION, Action.AUTHORIZE, Action.START_TRANSACTION],

Put back read charging station auth