GET Core Roles Does Not Return 'Past Faculty'

I think I found a bug, but can someone confirm this?

Using GET Core Roles (https://developer.sky.blackbaud.com/docs/services/school/operations/v1rolesget) does not return the “Past Faculty” role for some reason.

Comments

  • Todd DeSchuiteneer
    Todd DeSchuiteneer Blackbaud Employee
    Tenth Anniversary Kudos 2 Name Dropper Participant

    Hi @Michael Panagos , If you ever believe you have located a bug/defect with the API you can always reach out to support to report the problem.

    I had a chance to test this against my own database and found I was returning all the “Past” type roles in my results.

    I had a look at your roles and found the “active” check box is not marked for your Past Faculty role which is why it is not returning in your results.

    Navigating to Core > Security > Roles > Selecting the Past Faculty role and selecting Edit will allow you to re-check that Active option and will get the role returning for you.

  • @Todd DeSchuiteneer
    Got it. I didn't realize the API call would skip disabled roles. Why it was disabled in the first place is a different question!

    Do you know what the hidden field is for in the get core roles API?

    Thanks again.

  • Todd DeSchuiteneer
    Todd DeSchuiteneer Blackbaud Employee
    Tenth Anniversary Kudos 2 Name Dropper Participant

    No problem @Michael Panagos! Yes, there is a “hide” option on roles when something on your site is uninstalled. Since we cannot completely delete the role it is hidden and marked inactive.

Categories