Skip to content

Group mapping #9

@maxiride

Description

@maxiride

Feature Description

If the feature is available but undocumented please redirect me to the correct source as I didn't find it. If the feature ownership is to the father plugin oauth I didn't find this feature there either.


If an admin wants to manage groups through the Entra ID platform (ex Azure) it's possible to turn on the feature plugin»oauth»overwrite-groups (in the father oauth plugin), however seems to me that currently the oauthazure plugin lacks a group mapping feature to local DokuWiki groups.

Example conf/local.php:

$conf['plugin']['oauthazure']['map-group-claim'] = 'groups';
$conf['plugin']['oauthazure']['group-mapping'] = [
    '62427966-e155-4952-a1d1-5acfd0daaf0f' => 'admin',
    '6a51228f-da9a-442f-a6a6-2e4876dbdb2b' => 'editor',
    'f4a64fe4-0a7a-4309-a72f-8fd4b5981d43' => 'writer'
];
  1. Is this feature in the scope of oauth or oauthazure?
  2. Regardless of the feature ownership would you be interested in a PR to implement it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions