I have an application that performs certain tasks. It requires the following permissions:
write_shipping
read_orders
write_orders
As the app develops and new plans with new functionalities are added, the application requires additional permissions:
write_content
However, when executing the code:
$session = Utils::loadOfflineSession('');
we will not get a session.
The problem arises from the fact that in Session::isValid(), we verify the scopes that are stored in the db with the scopes from the configuration file:
Context::$SCOPES->equals($this->scope)
Should these be related to each other and should this validation be performed?
I have an application that performs certain tasks. It requires the following permissions:
write_shipping read_orders write_orders As the app develops and new plans with new functionalities are added, the application requires additional permissions:
write_content However, when executing the code: $session = Utils::loadOfflineSession(''); we will not get a session. The problem arises from the fact that in Session::isValid(), we verify the scopes that are stored in the db with the scopes from the configuration file: Context::$SCOPES->equals($this->scope) Should these be related to each other and should this validation be performed?