Cancel
Showing results for 
Search instead for 
Did you mean: 

Attribute based protection in Access Manager

Pioneer
Pioneer

Hi experts,

 

I am trying to provide access to custom objects using custom property defined on object. And I am  using Has Attribute key in Access Manager.

Usage:  Has Attribute(Custom_ObjectRev:Custom_Prop=value)

(as per documentation)

 

But this thing is not working. Please help me out.

 

 

Thanks.

3 REPLIES

Re: Attribute based protection in Access Manager

Solution Partner Legend Solution Partner Legend
Solution Partner Legend

Teamcenter 11.3 shows the following:

 

Best practices for rules

  • All the strings used in the rule tree are internal values.
  • Blank spaces are not allowed in the rule syntax.
  • Logical values must be either 0 (false) or 1 (true).
  • References can only be checked for a null_tag (0) or nonnull (nonzero) value.
  • Has Attribute supports only single value attributes. Attributes with variable-length arrays (VLAs) are not supported.
  • Has Attribute does not support array attributes.
  • Has Attribute supports the persistent attributes on the class.
  • Do not use Has Attribute with compound properties or with types.

Maybe if we knew more about the attribute you're using as the test, i.e., type, typical values, etc.

Arden Bedell | Teamcenter Wonk | Applied CAx, LLC

Re: Attribute based protection in Access Manager

Valued Contributor
Valued Contributor

Hi Girish,

Please check these things to narrow down the issue:

1. Check by clicking the Access Manager tool from tool bar and see if the ACL List is reported in the full list. THis will help you to understand if your ACL is atleast there. In case it is there and there is some otehr ACL at the top, then it probably means the ACL at the top overrides the permissions. In case its not there in the list, then probably the ACL is not getting picked up.

2. Check if the attribute name is provided correctly. 

 

You can provide a snapshot here so that I can take a look.

 

Regards,

SRaj

Re: Attribute based protection in Access Manager

Solution Partner Pioneer Solution Partner Pioneer
Solution Partner Pioneer
Trying to use Has Property