Home
last modified time | relevance | path

Searched refs:privilege (Results 1 – 25 of 87) sorted by relevance

1234

/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/
H A Dcloud_value_util.cpp23 result.writable = privilege.writable; in Convert()
24 result.readable = privilege.readable ; in Convert()
25 result.creatable = privilege.creatable; in Convert()
26 result.deletable = privilege.deletable; in Convert()
27 result.shareable = privilege.shareable; in Convert()
37 result.privilege = Convert(participant.privilege); in Convert()
67 result.privilege = Convert(participant.privilege); in Convert()
94 result.writable = privilege.writable; in Convert()
95 result.readable = privilege.readable ; in Convert()
96 result.creatable = privilege.creatable; in Convert()
[all …]
H A Dcloud_value_util.h38 SharingPlege Convert(const Privilege &privilege);
42 Privilege Convert(const SharingPlege &privilege);
H A Dcloud_types_util.cpp23 data, input.identity, input.role, input.state, input.privilege, input.attachInfo); in Marshalling()
30 data, output.identity, output.role, output.state, output.privilege, output.attachInfo); in Unmarshalling()
/ohos5.0/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/fuzztest/udmfclient_fuzzer/
H A Dudmf_client_fuzzer.cpp130 Privilege privilege; in SetDataTextFuzz() local
163 Privilege privilege; in SetDataPlainTextFuzz() local
196 Privilege privilege; in SetDataHtmlFuzz() local
229 Privilege privilege; in SetDataLinkFuzz() local
259 Privilege privilege; in SetDataFileFuzz() local
286 Privilege privilege; in SetDataImageFuzz() local
313 Privilege privilege; in SetDataVideoFuzz() local
342 Privilege privilege; in SetDataSystemDefinedRecordFuzz() local
382 Privilege privilege; in SetDataSystemDefinedFormFuzz() local
423 Privilege privilege; in SetDataSystemDefinedAppItemFuzz() local
[all …]
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_3.2.10.5/
H A Dchangelogs-bundlemanager.md27 … for an application that has not requested the **AllowHideDesktopIcon** privilege, a default icon …
44privilege and configure it in the signing certificate or trustlist (**install_list_capability.json…
58privilege and configure it in the signing certificate or trustlist (**install_list_capability.json…
66 …new privilege configuration method. For details, see [Application Privilege Configuration Guide](.…
73privilege is requested by configuring it under the **extensionAbilities** field, with the **type**…
85 …new privilege configuration method. For details, see [Application Privilege Configuration Guide](.…
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/
H A Dchangelogs-bundlemanager.md41 …ility.json)配置,可以参考:[应用特权配置指南](../../../device-dev/subsystems/subsys-app-privilege-config-guide.md)。
52 …ility.json)配置,可以参考:[应用特权配置指南](../../../device-dev/subsystems/subsys-app-privilege-config-guide.md)。
60 …致的,应用需要适配新的规则,可以参考:[应用特权配置指南](../../../device-dev/subsystems/subsys-app-privilege-config-guide.md)。
76 …致的,应用需要适配新的规则,可以参考:[应用特权配置指南](../../../device-dev/subsystems/subsys-app-privilege-config-guide.md)。
/ohos5.0/docs/zh-cn/release-notes/changelogs/v3.2-beta3/
H A Dchangelog-v3.2-beta3.md57 …com/openharmony/docs/blob/master/zh-cn/device-dev/subsystems/subsys-app-privilege-config-guide.md)。
65 ….com/openharmony/docs/blob/master/zh-cn/device-dev/subsystems/subsys-app-privilege-config-guide.md)
76 …"app-privilege-capabilities": ["AllowAppDataNotCleared", "AllowAppDesktopIconHide"] // 应用的数据不允许被删除…
96 …com/openharmony/docs/blob/master/zh-cn/device-dev/subsystems/subsys-app-privilege-config-guide.md#…
104 …com/openharmony/docs/blob/master/zh-cn/device-dev/subsystems/subsys-app-privilege-config-guide.md#…
/ohos5.0/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/
H A Dudmf_client_system_hap_test.cpp188 Privilege privilege; in AddPrivilege() local
189 privilege.tokenId = AccessTokenKit::GetHapTokenID(USER_ID, "ohos.test.demo2", INST_INDEX); in AddPrivilege()
190 privilege.readPermission = "readPermission"; in AddPrivilege()
191 privilege.writePermission = "writePermission"; in AddPrivilege()
193 auto status = UdmfClient::GetInstance().AddPrivilege(option, privilege); in AddPrivilege()
H A Dudmf_client_hap_permission_test.cpp187 Privilege privilege; in AddPrivilege() local
188 privilege.tokenId = AccessTokenKit::GetHapTokenID(USER_ID, "ohos.test.demo22", INST_INDEX); in AddPrivilege()
189 privilege.readPermission = "readPermission"; in AddPrivilege()
190 privilege.writePermission = "writePermission"; in AddPrivilege()
192 auto status = UdmfClient::GetInstance().AddPrivilege(option, privilege); in AddPrivilege()
H A Dudmf_client_test.cpp196 Privilege privilege; in AddPrivilege() local
198 privilege.readPermission = "readPermission"; in AddPrivilege()
199 privilege.writePermission = "writePermission"; in AddPrivilege()
1336 Privilege privilege; variable
1339 privilege.readPermission = "readPermission";
1358 Privilege privilege; variable
1419 Privilege privilege; variable
1422 privilege.readPermission = "readPermission";
1452 Privilege privilege; variable
1485 Privilege privilege; variable
[all …]
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/permission/
H A Ddata_checker.cpp37 for (const auto &privilege : privileges) { in IsValid() local
38 if (privilege.tokenId == info.tokenId) { in IsValid()
/ohos5.0/docs/zh-cn/application-dev/security/
H A Dapp-provision-structure.md5 …issuer对象、validity对象、bundle-info对象、acls对象、permissions对象、debug-info对象、app-privilege-capabilities对象等部…
20 | app-privilege-capabilities | 表示应用包所需要的特权信息。可以参考[应用特权配置指南](../../device-dev/subsystems/subsys-app-
56 "app-privilege-capabilities":["AllowAppUsePrivilegeExtension"],
/ohos5.0/docs/en/application-dev/application-models/
H A Dapplication-component-configuration-fa.md74 …IconHide** privilege.<!--Del--> For details, see [Application Privilege Configuration Guide](../..…
78 * The application does not have the privilege to hide its icon on the home screen.
81 * The application has the privilege to hide its icon on the home screen.
84 * The application does not have the privilege to hide its icon on the home screen.
87 * The application has the privilege to hide its icon on the home screen.
91 * The application does not have the privilege to hide its icon on the home screen.
94 * The application has the privilege to hide its icon on the home screen.
H A Dapplication-component-configuration-stage.md77privilege.<!--Del--> For details, see [Application Privilege Configuration Guide](../../device-dev…
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_data/src/
H A Djs_cloud_utils.cpp70 …NAPI_CALL_RETURN_ERR(GetNamedProperty(env, input, "privilege", output.privilege, true), napi_inval… in Convert2Value()
155 napi_value privilege = Convert2JSValue(env, value.privilege); in Convert2JSValue() local
156 if (privilege == nullptr) { in Convert2JSValue()
163 napi_set_named_property(env, jsValue, "privilege", privilege); in Convert2JSValue()
/ohos5.0/foundation/distributeddatamgr/relational_store/test/js/clouddata/unittest/src/
H A DCloudShareTest.js45 privilege: privilegeEnable, property in participants1
52 privilege: privilegeDisable, property in participants2
458 changed1.privilege = privilegeDisable;
460 changed2.privilege = privilegeEnable;
505 changed1.privilege = privilegeDisable;
507 changed2.privilege = privilegeEnable;
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/
H A Dudmf_service_stub.cpp176 Privilege privilege; in OnAddPrivilege() local
177 if (!ITypesUtil::Unmarshal(data, query, privilege)) { in OnAddPrivilege()
183 int32_t status = AddPrivilege(query, privilege); in OnAddPrivilege()
H A Dudmf_service_impl.cpp245 for (const auto &privilege : privileges) { in IsReadAndKeep() local
246 … if (privilege.tokenId == query.tokenId && privilege.readPermission == PRIVILEGE_READ_AND_KEEP) { in IsReadAndKeep()
452 int32_t UdmfServiceImpl::AddPrivilege(const QueryOption &query, Privilege &privilege) in AddPrivilege() argument
486 privilegeCache_[query.key] = privilege; in AddPrivilege()
497 data.GetRuntime()->privileges.emplace_back(privilege); in AddPrivilege()
/ohos5.0/docs/en/release-notes/changelogs/v3.2-beta3/
H A Dchangelog-v3.2-beta3.md5 The privilege control capability is added for preset applications. The capability can be divided in…
59 …tion Privilege Configuration](../../../device-dev/subsystems/subsys-app-privilege-config-guide.md).
67 See [Application Privilege Configuration](../../../device-dev/subsystems/subsys-app-privilege-confi…
78 …"app-privilege-capabilities": ["AllowAppDataNotCleared", "AllowAppDesktopIconHide"] // The applica…
98 …ils, see [Configuration Mode](../../../device-dev/subsystems/subsys-app-privilege-config-guide.md#…
106 See [Configuration Mode](../../../device-dev/subsystems/subsys-app-privilege-config-guide.md#config…
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/preprocess/
H A Dpreprocess_utils.cpp57 Privilege privilege; in RuntimeDataImputation() local
58 privilege.tokenId = option.tokenId; in RuntimeDataImputation()
61 runtime.privileges.emplace_back(privilege); in RuntimeDataImputation()
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/cloud_data/src/
H A Dcloud_types_util.cpp23 data, input.identity, input.role, input.state, input.privilege, input.attachInfo); in Marshalling()
30 data, output.identity, output.role, output.state, output.privilege, output.attachInfo); in Unmarshalling()
/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-app-privilege-config-guide.md28 …文件](../../application-dev/security/app-provision-structure.md)中添加字段”app-privilege-capabilities“,按需…
45 …"app-privilege-capabilities": ["AllowAppDataNotCleared", "AllowAppDesktopIconHide"] // 应用的数据不允许被删除…
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-build-FAQ.md89 …is set to **root** or **system**. However, these processes are not high-privilege processes define…
93 …Modify the process .cfg file to reduce the privilege level. Do not set **uid** to **root** or **sy…
95 …If a process must have the **root** or **system** privilege due to service requirements, modify th…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkdata/
H A Djs-apis-data-cloudExtension-sys.md1360 description: 'change privilege succeeded',
1410 privilege: {
1423 privilege: {
1484 privilege: {
1497 privilege: {
1795 description: 'change privilege succeeded'
1800 description: 'change privilege succeeded',
1816 privilege: {
1829 privilege: {
1856 privilege: {
[all …]
/ohos5.0/docs/en/readme/
H A Dfile-management.md7 - A sandbox to ensure the least privilege as well as application data security
23 | Application files | 1. Provides a sandbox to ensure the least privilege as well as application…

1234