The /api/schemas endpoint does not return authorities

Bug #1550308 reported by Mark Polak on 2016-02-26
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Morten Olav Hansen

Bug Description

Trunk no longer returns the authorities for a schema. We use these to determine the public/private create abilities for objects.

Where 2.22 returns an array with authorities related to the schema, the current version of trunk just returns an empty array.
authorities: [
    type: "CREATE_PUBLIC",
    authorities: ["F_DATAELEMENT_PUBLIC_ADD"]
    type: "CREATE_PRIVATE",
    authorities: ["F_DATAELEMENT_PRIVATE_ADD"]
    type: "DELETE",
    authorities: ["F_DATAELEMENT_DELETE"]
authorities: [ ],

Morten Olav Hansen (mortenoh) wrote :

Fixed in latest trunk.

Changed in dhis2:
importance: Undecided → Medium
status: New → Fix Committed
milestone: none → 2.23
assignee: nobody → Morten Olav Hansen (mortenoh)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers