Create a grant for the given type, level, resource and identity. Optionally provide note, validFromTimestamp and validToTimestamp
type
level
resource
identity
note
validFromTimestamp
validToTimestamp