Legacy Dev Forum Posts

 View Only

Sign Up

AuthorizationClient.GetAuthorizationPermissions missing General domain

  • 1.  AuthorizationClient.GetAuthorizationPermissions missing General domain

    Posted 06-05-2025 18:13

    kellcomnet | 2018-05-01 20:16:37 UTC | #1

    When using the .net sdk or developer tools directly, GetAuthorizationPermissions does not appear to be returning permissions in the "General" domain.


    tim.smith | 2018-05-01 20:40:16 UTC | #2

    It looks like the API isn't returning permissions that don't have a domain or entityType property. These are the permissions found in the role admin UI under "General". I've opened API-3361 to address this.


    kellcomnet | 2018-05-01 20:42:32 UTC | #3

    Thank you, it is also worth noting that hardcoding a PermissionPolicy like PermissionPolicies.Add(new PureCloudPlatform.Client.V2.Model.DomainPermissionPolicy("General", "", "", "", new List<string>() { "Admin" }, null, false, null));

    results in an error that EntityName is required so that would have to be modified as well.


    tim.smith | 2018-05-02 18:39:17 UTC | #4

    Ah, good catch. Which SDK request are you using that with?


    kellcomnet | 2018-05-02 18:56:31 UTC | #5

    Put on /api/v2/authorization/roles/{roleId}


    kellcomnet | 2018-05-15 12:55:15 UTC | #6

    tim.smith, post:2, topic:2808
    API-3361

    Are these issues publicly visible, is there a link I can monitor for progress?


    tim.smith | 2018-05-15 15:13:52 UTC | #7

    Unfortunately, not currently.


    system | 2018-06-15 15:13:52 UTC | #8

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 2808