Add guide for community permission database

This commit is contained in:
Hamza417
2024-05-06 21:57:26 +05:30
parent ce5ed0fa85
commit 0a4ea86ecd
12 changed files with 109 additions and 178 deletions

View File

@ -0,0 +1,26 @@
{
"com.reddit.frontpage.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION": {
"label": "Dynamic receiver not exported",
"description": "Dynamic Receiver Not Exported Permission",
"protectionLevel": "signature|signatureOrSystem",
"group": "Unexported Components"
},
"com.sec.android.provider.badge.permission.READ": {
"label": "com.sec.android.provider.badge.permission.READ",
"description": "Allows an application to read to the Badges content provider.",
"protectionLevel": "signature",
"group": "Undefined"
},
"com.sec.android.provider.badge.permission.WRITE": {
"label": "com.sec.android.provider.badge.permission.WRITE",
"description": "Allows an application to write to the Badges content provider",
"protectionLevel": "signature",
"group": "Undefined"
},
"com.sonyericsson.home.permission.BROADCAST_BADGE": {
"label": "com.sonyericsson.home.permission.BROADCAST_BADGE",
"description": "",
"protectionLevel": "signature",
"group": "Undefined"
}
}

View File

@ -0,0 +1,78 @@
Community permissions descriptions of some OEM or Developer defined permissions
for native framework or system apps whose details Android doesn't or cannot provide.
If you're a developer or someone who has information about some permissions and want to
add their description to this list, you're most welcome to do so. Just add the relevant
information make a pull request on GitHub, don't forget to add your name or username to
the list of contributors above the permission details you've been contributed.
## Structure
The permissions are defined in a JSON object with the permission name as the key and
the value as an object containing the following properties:
- `id` : The unique identifier of the permission.
- `label`: The human-readable name of the permission.
- `description`: A brief description of the permission.
- `protectionLevel`: The protection level of the permission.
- `group`: The group of the permission.
### Example
```json
{
"com.example.permission.SOME_PERMISSION": {
"label": "Some Permission",
"description": "This permission allows the app to do something.",
"protectionLevel": "dangerous",
"group": "android.permission-group.SOME_GROUP"
}
}
```
### Schema
```json
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"patternProperties": {
".*": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"description": {
"type": "string"
},
"protectionLevel": {
"type": "string"
},
"group": {
"type": "string"
}
},
"required": ["label", "description", "protectionLevel", "group"]
}
}
}
```
## How to contribute?
1. Fork the repository or just click on the edit button on he viewer.
2. Add the permission details to the JSON object.
3. Make a pull request.
4. Wait for the review and merge.
5. Done!
## Status
Last updated: 2021-05-01 1:53 AM
Contributors:
@Hamza417
## License
```
This file is licensed under the GNU General Public License v3.0
```