How do I define the permissions correctly when a developer needs to customize the permissions for a third-party application for Harmony OS?

How do I define the permissions correctly when a developer needs to customize the permissions for a third-party application for Harmony OS?
A . module: {
reqPermissions: [{ name:com.myability.permission.MYPERMISSION,grantMode:system_grant, availableScope: [signatures]
}
}
B . module: {
defPermissions: [{ name:name:com.myability.permission.lNTERNET, grantMode:user grant,
availableScope: [signatures]
}
}
module: {
defPermissions: [{
C . name:name:com.myability.permission.INTERNET, grantMode:system_grant,
availableScope: [signatures]
}
}
module: {
defPermissions: [{
D . name:name:com.myability.permission.MYPERMISSION, grantMode:system_grant,
availableScope: [signatures]
}
}

Answer: D

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments