{"id":13654213,"url":"https://github.com/alphanodes/redmine_sudo","last_synced_at":"2026-03-07T04:01:37.603Z","repository":{"id":38475666,"uuid":"292577624","full_name":"alphanodes/redmine_sudo","owner":"alphanodes","description":"Sudo for Redmine - work without administrator permission, and switch to it if needed","archived":false,"fork":false,"pushed_at":"2026-02-26T11:24:13.000Z","size":1029,"stargazers_count":10,"open_issues_count":2,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-02-26T17:33:35.233Z","etag":null,"topics":["administrator","permission","redmine","redmine-plugin","sudo"],"latest_commit_sha":null,"homepage":"https://www.redmine.org/plugins/redmine_sudo","language":"Ruby","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/alphanodes.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-09-03T13:25:55.000Z","updated_at":"2026-02-26T11:24:17.000Z","dependencies_parsed_at":"2025-05-14T16:48:20.180Z","dependency_job_id":null,"html_url":"https://github.com/alphanodes/redmine_sudo","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/alphanodes/redmine_sudo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphanodes%2Fredmine_sudo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphanodes%2Fredmine_sudo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphanodes%2Fredmine_sudo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphanodes%2Fredmine_sudo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alphanodes","download_url":"https://codeload.github.com/alphanodes/redmine_sudo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphanodes%2Fredmine_sudo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30207390,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T03:24:23.086Z","status":"ssl_error","status_checked_at":"2026-03-07T03:23:11.444Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["administrator","permission","redmine","redmine-plugin","sudo"],"created_at":"2024-08-02T02:01:25.033Z","updated_at":"2026-03-07T04:01:37.594Z","avatar_url":"https://github.com/alphanodes.png","language":"Ruby","readme":"# Sudo plugin for Redmine\n\n[![Rate at redmine.org](https://img.shields.io/badge/rate%20at-redmine.org-blue.svg?style=flat)](https://www.redmine.org/plugins/redmine_sudo) [![Run Linters](https://github.com/AlphaNodes/redmine_sudo/workflows/Run%20Linters/badge.svg)](https://github.com/AlphaNodes/redmine_sudo/actions?query=workflow%3A%22Run+Linters%22) [![Run Brakeman](https://github.com/AlphaNodes/redmine_sudo/workflows/Run%20Brakeman/badge.svg)](https://github.com/AlphaNodes/redmine_sudo/actions?query=workflow%3A%22Run+Brakeman%22) [![Run Tests](https://github.com/AlphaNodes/redmine_sudo/workflows/Tests/badge.svg)](https://github.com/AlphaNodes/redmine_sudo/actions?query=workflow%3ATests)\n\n## Features\n\n* User can switch to admin permission\n* User with admininistrator permission can drop admin permission\n* Multilingual\n\n## PROs vs default behavior\n\n__No extra user with admin permissions is required.__\n  Common use case is, to create a user called \"admin\" for it and multiple other users use it.\n\n__Fast switch between admin permission and default user permission.__\n  You just activate it, re-enter your password (if required), work as administrator.\n\n__Automatically timeout of working time with admin permission.__\n  This can be configured with *sudo_mode_timeout*. After a specific time period of doing nothing you are automatically logged out as administrator and proceed doing your work with the regular permissions.\n\n![Redmine Sudo](./doc/redmine-sudo-usage.gif)\n\n## Break Redmine default\n\nIf a user has to have admin permisson, he has not this permission after login. He/she must switch to it (with top menu toggle) to get it. Redmine sudo-mode is used for time period and requesting password to switch to admin permission.\n\n## Redmine Requirements\n\n* Redmine version \u003e= 6.1\n* Redmine Plugin: [additionals](https://github.com/alphanodes/additionals)\n* Ruby version \u003e= 3.2\n* **Redmine sudo_mode has to be turned on in config/configuration.yml**\n\n## Installation\n\nNote: all existing admin users will be converted to sudoer (which means, they can switch to admin)\n\nNote2: Make sure you created a backup of your database before install!\n\nInstall ``redmine_sudo`` plugin for `Redmine`\n\n    cd $REDMINE_ROOT\n    git clone git://github.com/alphanodes/redmine_sudo.git plugins/redmine_sudo\n    git clone git://github.com/alphanodes/additionals.git plugins/additionals\n    bundle config set --local without 'development test'\n    bundle install\n    bundle exec rake redmine:plugins:migrate RAILS_ENV=production\n\nRestart Redmine (application server) and you should see the plugin show up in the Plugins page.\n\n## Uninstall\n\nNote: all existing sudoer users will be converted to admin users.\n\nUninstall ``redmine_sudo``\n\n    cd $REDMINE_ROOT\n    bundle exec rake redmine:plugins:migrate NAME=redmine_sudo VERSION=0 RAILS_ENV=production\n    rm -rf plugins/redmine_sudo\n\nRestart Redmine (application server)\n\n## Known problems\n\n* for api calls admin permissions are temorarily set for sudoer (not to database). This can be some negative side effect for some return values\n\n## License\n\nThis plugin is licensed under the terms of GNU/GPL v2.\nSee [LICENSE](LICENSE) for details.\n\n## Redmine Copyright\n\nThe redmine_sudo is a plugin extension for Redmine Project Management Software, whose Copyright follows.\nCopyright (C) 2006-  Jean-Philippe Lang\n\nRedmine is a flexible project management web application written using Ruby on Rails framework.\nMore details can be found in the doc directory or on the official website \u003chttp://www.redmine.org\u003e\n\nThis program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.\n\nCredits\n-------\n\n* @jbbarth for the idea of this plugin, but a different workflow. You can find his version here: https://github.com/jbbarth/redmine_sudo\n","funding_links":[],"categories":["Plugins"],"sub_categories":["Active Plugins"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falphanodes%2Fredmine_sudo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falphanodes%2Fredmine_sudo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falphanodes%2Fredmine_sudo/lists"}