Skip to content

New Structure of routes.json with access specifiers #117

@YashKumarVerma

Description

@YashKumarVerma

Is your feature request related to a problem? Please describe.

  • to clearly map user types/roles to resources, a new property is added to each of the route entries.
  • this entry is used to uniquely identify the resource so that further application logic can be implemented.

Describe the solution you'd like

https://i.imgur.com/OHwjDDE.png

  • by adding a new property which specify the resource (i.e. /slide) and the operation on it (i.e. /create, /delete ...)
{
   "route": "/data/Template/post",
   "method": "post",
   "access": {
     "entity": "template",
     "operation": "create"
   },
   "handlers": []
 }

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