Custom properties – read-only access to all resources

You create a custom property to be able to use your own values in the security rules. You define one or more values for the custom property, and use these in the security rule for a resource.

For example, you may want to set up read-only access to all resources for some users, who will only be reviewing work. To do this, you create a custom property with one value, apply it to a security rule, and apply the rule to users who need it.

Creation of the custom property

Do the following:

  1. In the QMC, open Custom properties.

  2. Click P Create new.

  3. Name the customer property AccessAllResources.

  4. Optional. Add a description.

  5. Under Resource types, select Users.

  6. Under Values, click P Create new and name the value ReaderOnly.

  7. Click Apply.

You have now created a custom property with one value that can be used to give users read access to all resources. You can easily create additional values according to your needs, for example, a value that gives users rights to create, update, and publish.

Note: You can create custom properties for more than one resource type, if needed. In this example, it is sufficient to select Users. When you create the security rule, the resource filter will be used to grant access to all resources.

Creation of the security rule

Do the following:

  1. In the QMC, open Security rules.

  2. Click P Create new.

  3. Name the security rule ReaderAccess.

  4. Add a description: This rule grants ReaderOnly members of the custom properties group AccessAllResources read access to all resources.

    Note: By default, the Resource filter field has an asterisk, indicating that all resources are selected. Click S next to the text box to view the resources.
  5. Under Basic, ensure that the action Read is selected.

  6. In the rule creation box, click the name list and select @AccessAllResources.

  7. Click the empty text box next to value and select ReaderOnly.

  8. The Conditions box in the Advanced section should now contain the following string:

    ((user.@AccessAllResources="ReaderOnly"))

    Note: In the Context list, you can select if the rule is to be applicable in the hub, QMC, or both.
  9. Click Apply.

Note: If you are connected to a user directory, the directory may contain properties that can be used in security rules.

Application of the custom property to users

Do the following:

  1. In the QMC, open Users.

  2. Select one or more users.

    Tip: Use Ctrl+Click to select multiple users.
  3. Click Edit.

  4. On the Edit user page, ensure that the Custom properties section is displayed.
  5. Click the text box for the custom property AccessAllResources and select ReaderOnly.
  6. Click Apply.

The selected users now have read access to all the resources in the QMC and can view apps, streams, content libraries, and so on.

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?