Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Specification and Grouping of Project Resources

In the `resources` element, you can group the project resources in whatever way supports the permissions you want to set.

Give each grouping or individual resource an ID that is used when defining the permissions.

Grouping Resources by Resource Type

The broadest resource grouping is provided by setting permissions at the level of resource type. This method groups all resources of that type in the project. To set a resource type resource group, associate an ID with a resource type, and do not use the `name` attribute:

    <resource id="ID" type="ResourceType"/>

For example: `<resource id="C" type="CONCEPT"/>`

## Using Resource Type as a Filter

How you specify the resource group is partly determined by the resource type attribute. The resource `type` can act as a filter. For example, suppose in the `name` attribute you specify a directory that includes events and concepts. If you set the `type` attribute to `"CONCEPT"` then the ID associated with this grouping is used to set permissions only on the concepts in that folder (and its subdirectories).

You could create a second grouping whose `type` specifies `"EVENT"` so that you can set permissions on events in that folder branch separately.

## Specifying an Individual Resource

To specify an individual resource, provide the project path to the resource in the `name` attribute. The project path is the folder path to the ontology entity, as seen in the Explorer panel. The example below shows how to specify an ID that is associated with the `FirstName` property of the `Person` concept:

    <resource name="/Concepts/Person/FirstName" id="FN" type="PROPERTY"/>

## Grouping Resources Using Wildcards

You can associate groups of resources with an ID using the wildcard character in the project path. The asterisk (*) is used as the wildcard character. For example:

    <resource name="/someFolder/* "id="AllP" type="PROPERTY"/>

## Grouping Resources by Resource Type

The broadest resource grouping is provided by setting permissions at the level of resource type. This method groups all resources of that type in the project. To set a resource type resource group, associate an ID with a resource type, and do not use the `name` attribute:

    <resource id="ID" type="ResourceType"/>

For example: `<resource id="C" type="CONCEPT"/>`

See Resource Types and Corresponding Action Types for a list of resource types, and the action types that are valid for each resource type.

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.