public class AccessPermission
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ADMINISTRATIVE
Administrative permission
|
static java.lang.String |
ALL
Full control (All permissions)
|
static java.lang.String |
CHANGE_CONTEXT
Change Context permission
|
static java.lang.String |
CHANGE_DOMAIN
Change Domain permission
|
static java.lang.String |
CHANGE_PERMISSIONS
Change Permissions permission
|
static java.lang.String |
CREATE
Create permission
|
static java.lang.String |
CREATE_BY_MOVE
Create By Move permission
|
static java.lang.String |
DELETE
Delete permission
|
static java.lang.String |
DOWNLOAD
Download permission
|
static java.lang.String |
MODIFY
Modify permission
|
static java.lang.String |
MODIFY_CONTENT
Modify Content permission
|
static java.lang.String |
MODIFY_IDENTITY
Modify Identity permission
|
static java.lang.String |
MODIFY_SECURITY_LABELS
Modify Security Labels permission
|
static java.lang.String |
NEW_VIEW_VERSION
New View Version permission
|
static java.lang.String |
READ
Read permission
|
static java.lang.String |
REVISE
Revise permission
|
static java.lang.String |
SET_STATE
Set State permission
|
static java.lang.String |
SYSTEM_DOMAIN
Used by sub-classes that need a default constructor.
|
| Constructor and Description |
|---|
AccessPermission() |
public static final java.lang.String ALL
A user, group, or organization granted the Full Control (All) permission is granted
all permissions currently defined and any that might be defined in the future.
Therefore, if new permission types are defined, you do not have to write rules that
specifically grant them to users, groups, or organizations with full control access.
Supported API: true
public static final java.lang.String READ
The right to know the existence of an object and to view the object and its attributes.
Additionally, if the object has content, you can view an object's content information such
as the file path to a local file or the location of external storage. This permission does
not allow you to view the actual contents of the file.
Supported API: true
public static final java.lang.String DOWNLOAD
The right to download local files that are the primary content or are attachments of an
object. This right is applicable to objects with content, such as documents or drawings.
Supported API: true
wt.content,
wt.content.ContentHolder,
wt.content.ContentRoleType,
Constant Field Valuespublic static final java.lang.String MODIFY
The right to change the attributes of an object, as well as other characteristics that are part of the object definition but are not controlled by the Modify Content or Modify Identity permissions.
For versioned objects, a user must have the Modify permission on the latest iteration
of each version of a target object to update the attributes common to all versions that
are not part of the object's identity. Modify permission on a version of a target object
is required to modify that version's attributes.
Supported API: true
public static final java.lang.String MODIFY_CONTENT
The right to modify any local file, URL, or external storage for the primary content
and attachments of an object with content. This includes modifying content information
and adding, replacing, or deleting content.
Supported API: true
wt.content,
wt.content.ContentHolder,
wt.content.ContentRoleType,
Constant Field Valuespublic static final java.lang.String MODIFY_IDENTITY
The right to modify a subset of the attributes that determine the identity of an object.
For example, for a part this subset includes the part number and the organization identifier (such as cage code) of the part, but not part name (which is often treated as a short description). For a folder, the attributes include the folder name.
For information on customizing the code to modify the set of attributes used in determining
the identity of an object, see the Windchill Customization Guide.
Supported API: true
IdentityAccessControlled,
Constant Field Valuespublic static final java.lang.String MODIFY_SECURITY_LABELS
The right to modify the security label values set on an object. In addition to having
Modify Security Labels permission, the user must be an authorized participant for the
security label values currently set on the object. If a custom evaluator class has
been configured, its isAllowedToModifySecurityLabelValue and
isAllowedToModifySecurityLabelValues methods must return true for the user.
This right is applicable to objects that can have security labels applied.
For information on creating a custom evaluator class and overriding its methods, see "Customizing
Security Labels" in the Windchill Customization Guide. A list of object types that can have
security labels applied is available in the <Windchill>/conf/exposedSecurityLabelObjects.xml file.
Supported API: true
SecurityLabeled,
UnrestrictedPrincipalEvaluator,
Constant Field Valuespublic static final java.lang.String CREATE_BY_MOVE
The right to move an object into an administrative domain.
Supported API: true
wt.admin.AdministrativeDomain,
wt.admin.DomainAdministered,
Constant Field Valuespublic static final java.lang.String CREATE
The right to create an object.
Supported API: true
public static final java.lang.String SET_STATE
The right of a user to perform a set state operation where a state transition has been defined to allow the transition from the current life cycle state to the new state.
Note: To perform a set state operation, a user must have the Set State permission and there must be a valid state transition defined between the current state and the desired state. If there is no transition defined, the user must have the Administrative permission to perform the operation.
For information on set state transitions and operations, see help available from the
Life Cycle Administration utility.
Supported API: true
wt.lifecycle.LifeCycleManaged,
wt.lifecycle.State,
wt.lifecycle.Transition#SET_STATE,
Constant Field Valuespublic static final java.lang.String REVISE
The right to revise an object. Revising creates a new version of the object at the same
level as the original in the version tree. For example, you can create revision B from
revision A.
Supported API: true
wt.vc.Versionable,
Constant Field Valuespublic static final java.lang.String NEW_VIEW_VERSION
The right to create a version for a specific view.
Supported API: true
wt.vc.views.ViewManageable,
Constant Field Valuespublic static final java.lang.String CHANGE_DOMAIN
The right to move an object out of an administrative domain.
Supported API: true
wt.admin.AdministrativeDomain,
wt.admin.DomainAdministered,
Constant Field Valuespublic static final java.lang.String CHANGE_CONTEXT
The right to move an object out of a context.
Supported API: true
wt.inf.container.WTContained,
wt.inf.container.WTContainer,
Constant Field Valuespublic static final java.lang.String CHANGE_PERMISSIONS
The right to change the ad hoc permissions that others have. Users, groups, or organizations
granted the Change Permissions permission are allowed to change the ad hoc permissions of
others to the permissions they themselves have or to a subset of the permissions they have.
Supported API: true
AdHocControlled,
Constant Field Valuespublic static final java.lang.String DELETE
The right to delete an object.
Supported API: true
public static final java.lang.String ADMINISTRATIVE
The right to perform certain administrative tasks. For example, an administrator would
have the right to break a lock or change an object's owner.
Supported API: true
public static final java.lang.String SYSTEM_DOMAIN