{"id":13313962,"url":"https://github.com/jhinrichsen/jenkins-role-support","last_synced_at":"2026-04-28T16:40:13.911Z","repository":{"id":57584174,"uuid":"119388874","full_name":"jhinrichsen/jenkins-role-support","owner":"jhinrichsen","description":"Commandline support for Jenkins Role Strategy Plugin","archived":false,"fork":false,"pushed_at":"2018-01-29T17:56:45.000Z","size":6,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-19T12:55:20.951Z","etag":null,"topics":["excel","jenkins","json","plugin","role","strategy"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jhinrichsen.png","metadata":{"files":{"readme":"README.adoc","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}},"created_at":"2018-01-29T13:53:21.000Z","updated_at":"2019-01-10T12:57:39.000Z","dependencies_parsed_at":"2022-09-10T12:41:15.602Z","dependency_job_id":null,"html_url":"https://github.com/jhinrichsen/jenkins-role-support","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhinrichsen%2Fjenkins-role-support","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhinrichsen%2Fjenkins-role-support/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhinrichsen%2Fjenkins-role-support/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhinrichsen%2Fjenkins-role-support/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhinrichsen","download_url":"https://codeload.github.com/jhinrichsen/jenkins-role-support/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242921944,"owners_count":20207127,"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":["excel","jenkins","json","plugin","role","strategy"],"created_at":"2024-07-29T18:09:52.456Z","updated_at":"2026-04-28T16:40:13.868Z","avatar_url":"https://github.com/jhinrichsen.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Commandline support for Jenkins Role Stragy Plugin via REST\n\nFunctionality is based on Jenkins Role Strategy Plugin 2.6.1\n\n== Jenkins Role Strategy Plugin REST API \n\n=== List\n----\ncurl -X GET localhost:8080/role-strategy/strategy/getAllRoles\n----\n\n=== Add\n----\ncurl -X POST localhost:8080/role-strategy/strategy/addRole --data \"type=globalRoles\u0026roleName=ADMIN\u0026permissionIds=hudson.model.Item.Discover,hudson.model.Item.ExtendedRead\u0026amp;overwrite=true\"\n----\n\n=== Remove\n----\ncurl -X POST localhost:8080/role-strategy/strategy/removeRoles --data \"type=globalRoles\u0026roleNames=ADMIN,DEV\"\n----\n\n=== Assign user\n----\ncurl -X POST localhost:8080/role-strategy/strategy/assignRole --data \"type=globalRoles\u0026roleName=ADMIN\u0026sid=username\"\n----\n\n=== Unassign\n----\ncurl -X POST localhost:8080/role-strategy/strategy/unassignRole --data \"type=globalRoles\u0026roleName=ADMIN\u0026sid=username\"\n----\n\n=== Remove user from all roles\n----\ncurl -X POST localhost:8080/role-strategy/strategy/deleteSid --data \"type=globalRoles\u0026sid=username\"\n----\n\n== TODO\n- Support destructive role mgmt (delete role, unassign user)\n- Support Jenkins CSRF protection (crumbs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhinrichsen%2Fjenkins-role-support","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhinrichsen%2Fjenkins-role-support","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhinrichsen%2Fjenkins-role-support/lists"}