{"id":13652717,"url":"https://github.com/simonbaese/consumer_permissions","last_synced_at":"2026-05-16T00:03:18.813Z","repository":{"id":182130501,"uuid":"491606403","full_name":"simonbaese/consumer_permissions","owner":"simonbaese","description":"A Drupal module to control user permissions to authenticate with certain consumers.","archived":false,"fork":false,"pushed_at":"2022-05-12T17:54:18.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-06T21:16:33.215Z","etag":null,"topics":["authentication","drupal","oauth","permissions"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonbaese.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}},"created_at":"2022-05-12T17:21:52.000Z","updated_at":"2022-05-16T15:30:22.000Z","dependencies_parsed_at":"2023-07-18T20:55:15.507Z","dependency_job_id":null,"html_url":"https://github.com/simonbaese/consumer_permissions","commit_stats":null,"previous_names":["simonbaese/consumer_permissions"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonbaese%2Fconsumer_permissions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonbaese%2Fconsumer_permissions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonbaese%2Fconsumer_permissions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonbaese%2Fconsumer_permissions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonbaese","download_url":"https://codeload.github.com/simonbaese/consumer_permissions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240483762,"owners_count":19808636,"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":["authentication","drupal","oauth","permissions"],"created_at":"2024-08-02T02:01:01.995Z","updated_at":"2026-05-16T00:03:18.772Z","avatar_url":"https://github.com/simonbaese.png","language":"PHP","funding_links":[],"categories":["Drupal"],"sub_categories":["Drupal modules"],"readme":"# Consumer Permissions\n\nA **Drupal** module to control user permissions to authenticate with certain consumers.\n\n## :wave: Introduction\n\n:wrench: This module depends on `consumers` and `simple_oauth`. Requires at least `PHP 8.0`.\n\n:warning: This is an **alpha** implementation.  \n:warning: It is only tested for the **Authorization Code Grant**.  \n:warning: Please be advised that there is no security garantuee.\n\nThis module provides permissions to access consumers. Imagine that you want only a certain user group to be able to authenticate with a client. There are two scenarios:\n- _The user is already logged in:_ This module changes the access requirements for the `oauth.authorize` route. Only users with the permission to authenticate with the client will be granted access (see `ConsumerPermissionsAccess`).\n- _The user is not logged in:_ This module steps in earlier and decorates the user authentication service (see `ConsumerPermissionsAuthDecorator`). The users get direct feedback if they are not allowed to authenticate with the client, because the login will be denied.\n\n## :whale: Usage\n\nAfter installation you can configure the permissions for existing consumers at:  \n`admin/people/permissions/module/consumer_permissions`.  \nThe permissions will be automatically updated, when consumers are added or deleted.\n\n## :seedling: Contact \n\nI am open to further develop this module. I would love to discuss your considerations and needs - feel free to contact me.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonbaese%2Fconsumer_permissions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonbaese%2Fconsumer_permissions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonbaese%2Fconsumer_permissions/lists"}