{"id":18348749,"url":"https://github.com/paraboly/permission-documentation","last_synced_at":"2026-01-23T10:16:28.256Z","repository":{"id":97837805,"uuid":"209973700","full_name":"Paraboly/Permission-Documentation","owner":"Paraboly","description":"Permission Architecture Documentation","archived":false,"fork":false,"pushed_at":"2019-09-21T12:41:14.000Z","size":3,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T23:42:58.326Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.paraboly.com","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Paraboly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-21T11:28:37.000Z","updated_at":"2019-11-14T13:29:28.000Z","dependencies_parsed_at":"2023-03-12T03:16:24.677Z","dependency_job_id":null,"html_url":"https://github.com/Paraboly/Permission-Documentation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Paraboly/Permission-Documentation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Paraboly%2FPermission-Documentation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Paraboly%2FPermission-Documentation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Paraboly%2FPermission-Documentation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Paraboly%2FPermission-Documentation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Paraboly","download_url":"https://codeload.github.com/Paraboly/Permission-Documentation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Paraboly%2FPermission-Documentation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28687423,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T05:48:07.525Z","status":"ssl_error","status_checked_at":"2026-01-23T05:48:07.129Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T21:19:03.520Z","updated_at":"2026-01-23T10:16:28.231Z","avatar_url":"https://github.com/Paraboly.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Permission Documentation\n\n  Permission documantation by examples, encodes and CHMOD system.\n  \n ### **One and Only Important Note:** \n Permission algorithm works from top to bottom !\n\n## Example Data as JSON \n```js\nuserPermissions: [\n    \"system\": [\n        \"permission.system.project.*.*.1\",\n        \"permission.system.project.*.price_tag.7\",\n        \"permission.system.project.*.delete_button.3\",\n        \"permission.system.project.button.*.7\",\n        \"permission.system.project.costs.*.5\",\n        \"permission.system.project.dates.*.0\",\n    ],\n    \"internal-plugin\":[\n        \"permission.internal-plugin.list.*.*.3\",\n        \"permission.internal-plugin.list.*.button.0\",\n        \"permission.internal-plugin.list.*.delete_button.3\",\n        \"permission.internal-plugin.list.list_item.*.7\",\n    ]\n]\n  \n```\n## ENCODE: \n\n```js\npermission.${module}.${page}.${component}.${component_id}${permission}\n```\n\n### Example ENCODEs: \n\n\n**No Permission:** ```permission.system.project.*.*.NO_PERMISSION(0)```\n\u003c/br\u003e\n**Read:** ```permission.system.project.*.*.READ(1)```\n\u003c/br\u003e\n**ALL:** ```permission.system.project.*.*.ALL(7)```\n\u003c/br\u003e\n**All Buttons Example**: ```permission.system.project.*.button.NO_PERMISSION(0)```\n\u003c/br\u003e\n\n\n### Example ENCODE with Advanced Use Case: \n\n```js\npermissions: [\n    \"permission.system.project.*.*.1\",\n    \"permission.system.project.*.price_tag.7\",\n    \"permission.system.project.*.delete_button.3\",\n    \"permission.system.project.button.*.7\",\n    \"permission.system.project.costs.*.5\",\n    \"permission.system.project.dates.*.0\",\n]\n```\n\n## Fundamental CHMOD Architecture\n\n\n| Value | R   | W   | X   | Description   |\n| ----- | --- | --- | --- | ------------- |\n| 0     | 0   | 0   | 0   | NO_PERMISSION |\n| 1     | 1   | 0   | 0   | READ          |\n| 2     | 0   | 1   | 0   | WRITE         |\n| 3     | 1   | 1   | 0   | READ/WRITE    |\n| 4     | 0   | 0   | 1   | EXECUTE       |\n| 5     | 1   | 0   | 1   | READ/EXECUTE  |\n| 6     | 0   | 1   | 1   | WRITE/EXECUTE |\n| 7     | 1   | 1   | 1   | ALL           |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparaboly%2Fpermission-documentation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparaboly%2Fpermission-documentation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparaboly%2Fpermission-documentation/lists"}