Skip to content

is_admin in OKAPI code #546

@kojoty

Description

@kojoty

Hi @following5

OCPL is going to introduce "role" in place of "admin" column in user table.
Role will be column with type SET in DB and many roles can be assigned to user.
Column admin will be removed.

Currently there is "is_admin" field in OKAPI code which read "user.admin" column from DB.

What is the best way to deal with it in OKAPI code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions