From 54553f95a935be6cfbd9d355838ff94e5ba1f244 Mon Sep 17 00:00:00 2001 From: "hb.min" Date: Wed, 10 Apr 2013 00:12:56 +0900 Subject: [PATCH] Add platform visibility privilege level Change-Id: I279bb901264459357a6e133a457c828de2731b6e Signed-off-by: hb.min --- src/base/inc/FBaseInternalTypes.h | 1 + src/security/inc/FSec_AccessControlTypes.h | 60 +++++++++++++++--------------- 2 files changed, 31 insertions(+), 30 deletions(-) diff --git a/src/base/inc/FBaseInternalTypes.h b/src/base/inc/FBaseInternalTypes.h index cf88a62..558fc07 100644 --- a/src/base/inc/FBaseInternalTypes.h +++ b/src/base/inc/FBaseInternalTypes.h @@ -56,6 +56,7 @@ enum _ApiVisibility _API_VISIBILITY_PUBLIC = 100, _API_VISIBILITY_PARTNER = 200, _API_VISIBILITY_PARTNER_OPERATOR = 210, + _API_VISIBILITY_PLATFORM = 210, _API_VISIBILITY_PARTNER_MANUFACTURER = 220, _API_VISIBILITY_MAX = 65535 }; diff --git a/src/security/inc/FSec_AccessControlTypes.h b/src/security/inc/FSec_AccessControlTypes.h index 38e6294..876f131 100644 --- a/src/security/inc/FSec_AccessControlTypes.h +++ b/src/security/inc/FSec_AccessControlTypes.h @@ -301,14 +301,14 @@ const static Tizen::Base::_ApiVisibility visibilityLevelListTable[_MAX_PRIVILEGE { Tizen::Base::_API_VISIBILITY_PUBLIC }, // bluetooth.health { Tizen::Base::_API_VISIBILITY_PUBLIC }, // bluetooth.opp { Tizen::Base::_API_VISIBILITY_PUBLIC }, // bluetooth.spp - { Tizen::Base::_API_VISIBILITY_PARTNER_MANUFACTURER }, // bluetoothmanager + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // bluetoothmanager { Tizen::Base::_API_VISIBILITY_PUBLIC }, // calendar.read { Tizen::Base::_API_VISIBILITY_PUBLIC }, // calendar.write - { Tizen::Base::_API_VISIBILITY_PARTNER_OPERATOR }, // callforward + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // callforward { Tizen::Base::_API_VISIBILITY_PUBLIC }, // callhistory.read { Tizen::Base::_API_VISIBILITY_PUBLIC }, // callhistory.write { Tizen::Base::_API_VISIBILITY_PUBLIC }, // camera - { Tizen::Base::_API_VISIBILITY_PARTNER_OPERATOR }, // cellbroadcast + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // cellbroadcast { Tizen::Base::_API_VISIBILITY_PARTNER }, // certificate.read { Tizen::Base::_API_VISIBILITY_PARTNER }, // certificate.write { Tizen::Base::_API_VISIBILITY_PUBLIC }, // contact.read @@ -318,11 +318,11 @@ const static Tizen::Base::_ApiVisibility visibilityLevelListTable[_MAX_PRIVILEGE { Tizen::Base::_API_VISIBILITY_PARTNER }, // customnetaccount { Tizen::Base::_API_VISIBILITY_PUBLIC }, // dns { Tizen::Base::_API_VISIBILITY_PUBLIC }, // download - { Tizen::Base::_API_VISIBILITY_PARTNER_OPERATOR }, // drmservice + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // drmservice { Tizen::Base::_API_VISIBILITY_PUBLIC }, // http { Tizen::Base::_API_VISIBILITY_PARTNER }, // ime - { Tizen::Base::_API_VISIBILITY_PARTNER_MANUFACTURER }, // imemanager - { Tizen::Base::_API_VISIBILITY_PARTNER_MANUFACTURER }, // inputmanager + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // imemanager + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // inputmanager { Tizen::Base::_API_VISIBILITY_PUBLIC }, // location { Tizen::Base::_API_VISIBILITY_PUBLIC }, // messaging.email { Tizen::Base::_API_VISIBILITY_PUBLIC }, // messaging.mms @@ -331,7 +331,7 @@ const static Tizen::Base::_ApiVisibility visibilityLevelListTable[_MAX_PRIVILEGE { Tizen::Base::_API_VISIBILITY_PUBLIC }, // network.connection { Tizen::Base::_API_VISIBILITY_PUBLIC }, // network.statistics.read { Tizen::Base::_API_VISIBILITY_PUBLIC }, // network.statistics.write - { Tizen::Base::_API_VISIBILITY_PARTNER_MANUFACTURER }, // networkmanager + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // networkmanager { Tizen::Base::_API_VISIBILITY_PUBLIC }, // nfc.admin { Tizen::Base::_API_VISIBILITY_PUBLIC }, // nfc.cardemulation { Tizen::Base::_API_VISIBILITY_PUBLIC }, // nfc.common @@ -340,9 +340,9 @@ const static Tizen::Base::_ApiVisibility visibilityLevelListTable[_MAX_PRIVILEGE { Tizen::Base::_API_VISIBILITY_PUBLIC }, // notification { Tizen::Base::_API_VISIBILITY_PARTNER }, // notificationmanager { Tizen::Base::_API_VISIBILITY_PUBLIC }, // packageinfo - { Tizen::Base::_API_VISIBILITY_PARTNER_OPERATOR }, // packagelicensemanager - { Tizen::Base::_API_VISIBILITY_PARTNER_OPERATOR }, // packagemanager.install - { Tizen::Base::_API_VISIBILITY_PARTNER_MANUFACTURER }, // packagesetting + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // packagelicensemanager + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // packagemanager.install + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // packagesetting { Tizen::Base::_API_VISIBILITY_PUBLIC }, // platforminfo { Tizen::Base::_API_VISIBILITY_PUBLIC }, // power { Tizen::Base::_API_VISIBILITY_PUBLIC }, // push @@ -350,51 +350,51 @@ const static Tizen::Base::_ApiVisibility visibilityLevelListTable[_MAX_PRIVILEGE { Tizen::Base::_API_VISIBILITY_PARTNER }, // smstrigger { Tizen::Base::_API_VISIBILITY_PUBLIC }, // socket { Tizen::Base::_API_VISIBILITY_PUBLIC }, // systeminfo - { Tizen::Base::_API_VISIBILITY_PARTNER_MANUFACTURER }, // systemsetting.read - { Tizen::Base::_API_VISIBILITY_PARTNER_MANUFACTURER }, // systemsetting.write - { Tizen::Base::_API_VISIBILITY_PARTNER_MANUFACTURER }, // telephonymanager - { Tizen::Base::_API_VISIBILITY_PARTNER_OPERATOR }, // uimanager + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // systemsetting.read + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // systemsetting.write + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // telephonymanager + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // uimanager { Tizen::Base::_API_VISIBILITY_PARTNER }, // useridentity { Tizen::Base::_API_VISIBILITY_PUBLIC }, // vibrator { Tizen::Base::_API_VISIBILITY_PUBLIC }, // videorecorder - { Tizen::Base::_API_VISIBILITY_PARTNER_OPERATOR }, // wappush + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // wappush { Tizen::Base::_API_VISIBILITY_PUBLIC }, // web.privacy { Tizen::Base::_API_VISIBILITY_PUBLIC }, // web.service { Tizen::Base::_API_VISIBILITY_PUBLIC }, // wifi.admin { Tizen::Base::_API_VISIBILITY_PUBLIC }, // wifi.read { Tizen::Base::_API_VISIBILITY_PUBLIC }, // wifi.wifidirect.admin { Tizen::Base::_API_VISIBILITY_PUBLIC }, // wifi.wifidirect.read - { Tizen::Base::_API_VISIBILITY_PARTNER_MANUFACTURER }, // wifimanager + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // wifimanager { Tizen::Base::_API_VISIBILITY_PUBLIC }, // appwidgetprovider.install { Tizen::Base::_API_VISIBILITY_PUBLIC }, // account.read { Tizen::Base::_API_VISIBILITY_PUBLIC }, // account.write { Tizen::Base::_API_VISIBILITY_PUBLIC }, // userprofile.read { Tizen::Base::_API_VISIBILITY_PUBLIC }, // userprofile.write { Tizen::Base::_API_VISIBILITY_PUBLIC }, // telephony - { Tizen::Base::_API_VISIBILITY_PARTNER_MANUFACTURER }, // netstatisticsmanager + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // netstatisticsmanager { Tizen::Base::_API_VISIBILITY_PUBLIC }, // network.statistics - { Tizen::Base::_API_VISIBILITY_PARTNER_MANUFACTURER }, // nfcmanager - { Tizen::Base::_API_VISIBILITY_PARTNER_MANUFACTURER }, // bookmark.read - { Tizen::Base::_API_VISIBILITY_PARTNER_MANUFACTURER }, // bookmark.write - { Tizen::Base::_API_VISIBILITY_PARTNER_MANUFACTURER }, // geolocationpermission.read - { Tizen::Base::_API_VISIBILITY_PARTNER_MANUFACTURER }, // geolocationpermission.write - { Tizen::Base::_API_VISIBILITY_PARTNER_MANUFACTURER }, // lockmanager + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // nfcmanager + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // bookmark.read + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // bookmark.write + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // geolocationpermission.read + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // geolocationpermission.write + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // lockmanager { Tizen::Base::_API_VISIBILITY_PUBLIC }, // shortcut.install { Tizen::Base::_API_VISIBILITY_PARTNER }, // appmanager.kill { Tizen::Base::_API_VISIBILITY_PARTNER }, // privilegemanager.read - { Tizen::Base::_API_VISIBILITY_PARTNER_MANUFACTURER }, // privacymanager.read - { Tizen::Base::_API_VISIBILITY_PARTNER_MANUFACTURER }, // privacymanager.write - { Tizen::Base::_API_VISIBILITY_PARTNER_MANUFACTURER }, // antivirus + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // privacymanager.read + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // privacymanager.write + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // antivirus { Tizen::Base::_API_VISIBILITY_PUBLIC }, // internet { Tizen::Base::_API_VISIBILITY_PUBLIC }, // messaging.read { Tizen::Base::_API_VISIBILITY_PUBLIC }, // messaging.write { Tizen::Base::_API_VISIBILITY_PUBLIC }, // package.info - { Tizen::Base::_API_VISIBILITY_PARTNER_MANUFACTURER }, // packagemanager.info - { Tizen::Base::_API_VISIBILITY_PARTNER_MANUFACTURER }, // packagemanager.setting + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // packagemanager.info + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // packagemanager.setting { Tizen::Base::_API_VISIBILITY_PUBLIC }, // system { Tizen::Base::_API_VISIBILITY_PARTNER }, // systemmanager - { Tizen::Base::_API_VISIBILITY_PARTNER_MANUFACTURER }, // settingmanager.read - { Tizen::Base::_API_VISIBILITY_PARTNER_MANUFACTURER }, // settingmanager.write + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // settingmanager.read + { Tizen::Base::_API_VISIBILITY_PLATFORM }, // settingmanager.write { Tizen::Base::_API_VISIBILITY_PARTNER }, // appmanager.certificate { Tizen::Base::_API_VISIBILITY_PARTNER }, // datacontrol.consumer { Tizen::Base::_API_VISIBILITY_PUBLIC }, // datasync -- 2.7.4