Skip to main content

IsOwned

Boolean function for resource conditions that returns True if the specified resource has an owner. Otherwise returns False.

Syntax:  

resource.IsOwned()

 

Examples and results

Examples and results
ExampleResult

Resource filter: *

Conditions: resource.IsOwned() and resource.owner = user

Action: read, export, publish

The owner of a resource should be able to read, export and publish his / her resources. Here the conditions specify that the resource must be owned and the owner must be the requesting user for the rule to apply.

Information noteThis is the definition of the OwnerNonModificationActions rule, a custom rule supplied with the QMC. Complements the Owner rule that provides resource owners with all actions provided that the resource is not published to a stream.