summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Oleynik <AOleynik@luxoft.com>2015-04-22 00:11:51 +0300
committerAndrey Oleynik <my@email.com>2015-04-23 16:38:57 +0300
commit309f5b2a75e1261685b51c382de57e28130d7a24 (patch)
tree1415e2ecbac12be106291dac9f781e25c67af5b4
parent20e9d369996207b7e8e9fc536f0d9f8de7a26423 (diff)
downloadsmartdevicelink-309f5b2a75e1261685b51c382de57e28130d7a24.tar.gz
APPLINK-12719. Fixed user consent removal for revoked groups only.
Conflicts: src/components/policy/src/policy/src/cache_manager.cc
-rw-r--r--src/components/policy/src/policy/src/policy_helper.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/policy/src/policy/src/policy_helper.cc b/src/components/policy/src/policy/src/policy_helper.cc
index 406c5f540..5a4682bbc 100644
--- a/src/components/policy/src/policy/src/policy_helper.cc
+++ b/src/components/policy/src/policy/src/policy_helper.cc
@@ -77,7 +77,8 @@ bool operator()(const policy::StringsValueType& value) {
if (groups_attributes_.end() == it) {
return false;
}
- FunctionalGroupPermission group;
+ FunctionalGroupPermission group;
+ group.group_name = it->second.second;
group.group_alias = it->second.first;
group.group_id = it->first;
groups_permissions_.push_back(group);