Support for `unifiedRoleAssignment` for different RBAC providers
@jason-dou đang làm issue này rồi.
Từ ngày 28/5/2024.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Vote for this new type by clicking the thumbs-up.
Is your feature request related to a problem? Please describe.
I'm trying to add a new resource unifiedRoleAssignment, but there are several issues.
- Resource is under more URIs
The resourceunifiedRoleAssignmentrepresents a role assignment, but the type is returned by more RBAC providers.
All these endpoints returnunifiedRoleAssignment:
/roleManagement/directory/roleAssignments
/roleManagement/entitlementManagement/roleAssignments
/roleManagement/exchange/roleAssignments- beta only
Now, it's possible to specify only one RootUri.
- Name: microsoft.graph.unifiedRoleAssignment
RootUri: /roleManagement/directory/roleAssignments
AvailableProperty:
- appScopeId
- directoryScopeId
- principalId
- roleDefinitionId
RequiredOnWrite:
- appScopeId
- directoryScopeId
- principalId
- roleDefinitionId
- Wrong path generated
Generated path for
- Name: microsoft.graph.unifiedRoleAssignment
RootUri: /roleManagement/directory/roleAssignments
AvailableProperty:
- appScopeId
- directoryScopeId
- principalId
- roleDefinitionId
RequiredOnWrite:
- appScopeId
- directoryScopeId
- principalId
- roleDefinitionId
Generated path is /{rootScope}/providers/Microsoft.Graph/directory/{directoryId}/roleAssignments/{unifiedRoleAssignmentId} which seems to me wrong. It should be /{rootScope}/providers/Microsoft.Graph/roleManagement/directory/roleAssignments/{unifiedRoleAssignmentId}/
Describe the solution you'd like
Maybe add new property EntityType. Config.yml can contain the same EntityType but with different combination of Name and RootUri
- Name: microsoft.graph.entraRoleAssignment
EntityType: microsoft.graph.unifiedRoleAssignment
RootUri: /roleManagement/directory/roleAssignments
- Name: microsoft.graph.exchangeRoleAssignment
EntityType: microsoft.graph.unifiedRoleAssignment
RootUri: /roleManagement/exchange/roleAssignments
Additional context
Add any other context or screenshots about the feature request here.
- Ngôn ngữ chính
- TypeScript
- Star
- 81
- Fork
- 15
- Merge trung bình
- 12 ngày 26 phút
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoftgraph/msgraph-bicep-types
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 12/100
microsoftgraph/msgraph-bicep-types#328 · 1 reaction ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Intermittent servicePrincipal creation failure with OwnedBy: backing application must be in local tenant despite being created thereCó thể đã có người làm @FehintolaObafemi đã nhận 8 ngày trước. Đang mởNeeds: Attention :wave:
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
microsoftgraph/msgraph-bicep-types#324 · 3 bình luận · 1 người được giao ·
-
Docs: Add note about full-name + uniqueName requirement to applications/federatedIdentityCredentialsĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 35/100
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
microsoftgraph/msgraph-bicep-types#311 · 3 bình luận ·
Tất cả issue của microsoftgraph/msgraph-bicep-types
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
hugomrdias/playwright-test#753 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Review view: Daily/Weekly Review header buttons use the app-wide toolbar control styleCó thể đã có người làm @colherdesopa đã nhận hôm nay. Đang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 90/100
dongdongbh/Mindwtr#1515 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
pending-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
kirodotdev/Kiro#12301 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100