Skip to main content

IsOwned

ON THIS PAGE

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.

Note: This 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.