# checkUserAuthorization

State Resource

This is a State Resource as provided by the tymly-rbac-plugin plugin.

# Purpose

Checks if a user can access a specific resource

# Usage

# Example

{
  "Check": {
    "Type": "Task",
    "Parameters": {
      "resourceType": "stateMachine",
      "resourceName": "tymlyTest_updatePost_1_0",
      "action": "create",
      "ctx": {
        "userId": "molly"
      }
    },
    "Resource": "module:checkUserAuthorization",
    "End": true
  }
}