{"id":17948809,"url":"https://github.com/libresign/admin_group_manager","last_synced_at":"2026-03-04T03:31:06.445Z","repository":{"id":259902667,"uuid":"869034339","full_name":"LibreSign/admin_group_manager","owner":"LibreSign","description":"Nextcloud admin group manager","archived":false,"fork":false,"pushed_at":"2025-02-24T23:36:14.000Z","size":138,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-24T07:02:10.138Z","etag":null,"topics":["hacktoberfest","nextcloud","nextcloud-app","nextcloud-apps"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LibreSign.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"libresign"}},"created_at":"2024-10-07T15:53:08.000Z","updated_at":"2025-02-24T23:36:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"9e27c31b-71f2-4580-b355-bf411f3df0e5","html_url":"https://github.com/LibreSign/admin_group_manager","commit_stats":null,"previous_names":["libresign/admin_group_manager"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreSign%2Fadmin_group_manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreSign%2Fadmin_group_manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreSign%2Fadmin_group_manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreSign%2Fadmin_group_manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LibreSign","download_url":"https://codeload.github.com/LibreSign/admin_group_manager/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251747796,"owners_count":21637404,"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":["hacktoberfest","nextcloud","nextcloud-app","nextcloud-apps"],"created_at":"2024-10-29T09:10:01.383Z","updated_at":"2026-03-04T03:31:06.398Z","avatar_url":"https://github.com/LibreSign.png","language":"PHP","readme":"# Admin group manager\n\nManage routines associates to admin groups\n\nAvailable features:\n- Create admin group setting the default group quota and enabled apps\n\n## Setup\n\n- Clone this repo at your app folder\n- Run the follow commands:\n\t```bash\n\tcomposer install --no-dev\n\tnpm ci\n\tnpm run build\n\tocc app:enable admin_group_manager\n\tocc app:enable groupquota\n\t```\n- Allowed IP range\n\n\tBy security, this API only receive requests from a specific IP range. This could be enabled or not. To enable you will need to run the follow command:\n\t```bash\n\tocc config:system:set admin_group_manager_allowed_range 0 --value \u003ctheWordPressIp\u003e\n\t```\n\n\tTo test if your setting is working fine, use a IP range that don't match with WordPressIP and tun a tail with grep to watch by the word \"Unauthorized access\".\n\t\t```bash\n\t\ttail -f data/nextcloud.log|grep \"Unauthorized access\"\n\t\t```\n\n## Performance improving\nSystemd service\n\n- Create a systemd service file in /etc/systemd/system/admin-group-manager.service with the following content:\n\t```ini\n\t[Unit]\n\tDescription=Admin Group Manager worker\n\tAfter=network.target\n\n\t[Service]\n\tExecStart=/opt/admin-group-manager/taskprocessing.sh\n\tRestart=always\n\n\t[Install]\n\tWantedBy=multi-user.target\n\t```\n\n\n- Create a shell script in /opt/admin-group-manager/taskprocessing.sh with the following content and make sure to make it executable:\n\n\t```bash\n\t#!/bin/sh\n\techo \"Starting Admin Group Manager worker $1\"\n\tcd /path/to/nextcloud\n\tsudo -u www-data php occ background-job:worker 'OCA\\AdminGroupManager\\BackgroundJob\\EnableAppsForGroup'\n\t```\n\n- Enable and start the service:\n  ```bash\n  systemctl enable --now admin-group-manager.service\n  ```\n- Check if is working fine:\n\t```bash\n\tsystemctl list-units --type=service | grep admin-group-manager\n\t```\n- Check execution log:\n\t```bash\n\tjournalctl -xeu nextcloud-ai-worker.service -f\n\t```\n\n## How to use\n\nCheck the available endpoints installing the app `ocs_api_viewer` and going to Nextcloud web interface at ocs_api_viewer app to verify the endpoints of this app.\n","funding_links":["https://github.com/sponsors/libresign"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibresign%2Fadmin_group_manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibresign%2Fadmin_group_manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibresign%2Fadmin_group_manager/lists"}