dotnet / dotnet/aspnetcore

AuthorizationOptions does not allow to query list of available policies

Open
#18,047 7 comments 1 reaction 0 assignees View on GitHub
area-auth
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

Due to the dictionary of policies being private there is currently no way to get all the available policies. Getting all the available policies is very useful when building Administration dashboards where you want to control and check what permissions a given user has.

Multiple users seem to have the same [requirement.](https://stackoverflow.com/questions/45014894/how-to-get-all-authorize-policies-that-i-added-in-the-startup-configureservices)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.