| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
When loading the policy table from backup sql file, service types must be read in a strings.
|
|
|
|
| |
The service enpoints in the policy table should be saved as strings instead of integers.
|
|
|
|
|
| |
In case if app revoked it should not be checked for any other
permissions
|
| |
|
|
|
|
| |
fixup! Avoid adding RC groups in external policy flow
|
| |
|
| |
|
|\
| |
| | |
protect pt_ from concurrent access
|
| | |
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
| |
These changes update switching flow so now instead of automatic
switching start in case of same UUID is detected SDL will wait for
external signal from the system to start this flow.
Also due to UUID is reliable only while device remains connected (at
least on certain systems) SDL now uses Bluetooth MAC and USB serial to
manage devices and UUID is used only for detection of devices able to
switch their transports. Currently only iAP2 Bluetooth to USB support is
implemented.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add COLLATE NOCASE property for application_id and nickname columns and indices
Added COLLATE NOCASE property for application_id and nickname
columns and indices related to them in order to make them case
insensitive for query select/insert/update.
Changed policy id case to lower. Because of case sensitive
file path all files and directories which contains policy id
of related application, will be saved in lower case to keep
SDL applications path case insensitive.
* Fix loading preloaded PT from JSON file
There was additional case when policy table is loading
from preloaded JSON file. In this case there was case
sensitive loading of app groups.
|
|\
| |
| |
| |
| | |
AKalinich-Luxoft/hotfix/fix_default_app_policies_update_after_ptu
Fix PTU applying for "default" app policies
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There was a problem with applying changes for applications
which is registered with "default" policies and this
policy group was updated after PTU. In this case permissions
for already registered applications which is using these groups
still have permissions as before update.
Also default policy section was not updated after PTU with changes
in this section.
This issue is reproduced on EXTERNAL_PROPRIETARY flow only.
To fix this issue there was removed code in CacheManager, which
incorrectly assigns default policies to apps with "default" policies.
Also there was a redundant code because default policies is unwrapped in
PTU before its applying, so all specific application policies is already
have actual new default policy permissions. In this case it is correct to
assign to every app his own policies from PTU.
Also there was updated logic in ProcessAppPolicyCheckResults() to perform
all needed actions once per app, because its possible that results could
contain sever results for one app_id.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This problem mostly related to RC functionality. When SDL receives
any RC request, it checks is sending app have REMOTE_CONTROL HMI type.
If app does not have such HMI type, SDL disallows such RPC for it.
The problem was in CacheManager::GetHMITypes() function, which
returns appHMIType array even if it was not initialized(param is not present
in policy) so SDL tries to find HMI type in an empty array and that always
evaluates to false so SDL decides that current app is not RC app. If appHMITypes
is not specified in policies, SDL should search HMI type in array of HMI types,
provided by application on its registration.
This check works correctly if application has default policies.
To fix that problem there was added check in GetHMITypes() to avoid
returning of uninitialized array.
|
|\
| |
| |
| |
| | |
AKalinich-Luxoft/fix/fix_messages_default_language_checking
Fix Consumer friendly message default language checking
|
| |
| |
| |
| |
| |
| |
| |
| | |
If “en-us” is not present for any message, the table shall be rejected,
PM should log error and shut SDL down. However this works only for external
policies.
Added missed checks for regular policies.
kMandatoryLanguage was renamed to default_language_
|
|\ \
| | |
| | |
| | |
| | | |
AKalinich-Luxoft/fix/fix_consumer_friendly_messages_saving
Fix Consumer Friendly Messages removing from PT
|
| | | |
|
| |/
| |
| |
| | |
Removed nested if's.
|
|\ \
| | |
| | | |
Clear persistent data of all registered applications after FACTORY_DEFAULTS and MASTER_RESET
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
After SDL receives
- BC.OnExitAllApplications(MASTER_RESET) :
SDL should clear stored persistent data of all registered
applications and revert local PT to preloaded state.
- BC.OnExitAllApplications(FACTORY_DEFAULTS):
SDL should clear stored persistent data of all
registered applications and remove all user consents
from local PT.
|
| | |
|
| |
| |
| |
| |
| | |
And more Subject structs were renamed to more descriptive name.
Also removed unused mocks.
|
| |
| |
| |
| |
| | |
There was missed one function where Subject structure
was not renamed so this fails SDL build with this policy flow.
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
dev-gh/feature/Resources_releasing_additional_cases_and_unsubscription
Feature/resources releasing additional cases and unsubscription
|
| | | |
|
|/ / |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Removed unused code after that
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|