{"id":19348857,"url":"https://github.com/adrianbj/adminrestrictbranch","last_synced_at":"2025-04-23T06:30:43.320Z","repository":{"id":141233984,"uuid":"46519331","full_name":"adrianbj/AdminRestrictBranch","owner":"adrianbj","description":"Processwire module to restrict site editors to a single branch of the tree.","archived":false,"fork":false,"pushed_at":"2021-05-17T15:55:40.000Z","size":89,"stargazers_count":11,"open_issues_count":1,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-02T09:22:21.238Z","etag":null,"topics":["access-control","page-tree","processwire"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adrianbj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2015-11-19T20:46:27.000Z","updated_at":"2023-01-05T12:56:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"956d32c3-6fba-4255-8006-145bfcddba2f","html_url":"https://github.com/adrianbj/AdminRestrictBranch","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianbj%2FAdminRestrictBranch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianbj%2FAdminRestrictBranch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianbj%2FAdminRestrictBranch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianbj%2FAdminRestrictBranch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adrianbj","download_url":"https://codeload.github.com/adrianbj/AdminRestrictBranch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250384674,"owners_count":21421771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["access-control","page-tree","processwire"],"created_at":"2024-11-10T04:23:27.403Z","updated_at":"2025-04-23T06:30:43.312Z","avatar_url":"https://github.com/adrianbj.png","language":"PHP","readme":"# Admin Restrict Branch\n\nProcesswire module to restrict site editors to a single branch of the tree.\n\n### Functionality\n\nYou can restrict the user to only be able to view and/or edit pages from a specific branch of the page tree.\n\nRestrictions work in the admin list view as well as via the API for front-end editing (works with FREDI, FEEL, and manual API calls).\n\nThere are three ways to match users to a branch parent:\n* User Specified Branch Parent\n* Role Specified Branch Parent\n* Role Name\n* Custom PHP code\n\nName matching can be limited to a specific parent to reduce mis-matches and improve matching efficiency.\n\nDetermine whether non-matched users will have access to the entire page tree, or no access at all.\n\nDetermine whether to limit editing and list viewing, or just editing.\n\nSpecify branch exclusions which will allow for editing of PageTable content housed in external parent branches and some other use cases.\n\nConditionally prevent admin search from returning restricted pages for things like inserting links to pages via the autocomplete option in CKEditor.\n\nConditionally modify breadcrumbs to remove pages that are outside the restricted branch.\n\n\n#### Support forum:\nhttps://processwire.com/talk/topic/11499-admin-restrict-branch/\n\n\n## License\n\nThis program is free software; you can redistribute it and/or\nmodify it under the terms of the GNU General Public License\nas published by the Free Software Foundation; either version 2\nof the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.\n\n(See included LICENSE file for full license text.)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrianbj%2Fadminrestrictbranch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadrianbj%2Fadminrestrictbranch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrianbj%2Fadminrestrictbranch/lists"}