Quantcast
Channel: All Quality Center / ALM Practitioners Forum posts
Viewing all articles
Browse latest Browse all 14708

Re: Limit Requirement Type list available to user?

$
0
0

I have the answer to your other question, of limiting users in a group to a single type of Requirement.  If you want them to have access to a subset list of 2..n Requirement types, the solution is more complicated.

 

Make the following workflow code changes.  Substitute the name of your user group where I use NewGroup and the name of your Requirement type where I use Business.

 

Sub Req_New
  On Error Resume Next
  if User.IsInGroup("NewGroup") then
     Req_Fields("RQ_TYPE_ID").Value = "Business"
     Req_Fields("RQ_TYPE_ID").IsReadOnly = true
  end if
  On Error GoTo 0
End Sub

 

Sub Req_MoveTo
  On Error Resume Next
  if User.IsInGroup("NewGroup") then
     Req_Fields("RQ_TYPE_ID").IsReadOnly = true
  end if
  On Error GoTo 0
End Sub

 

 

 


Viewing all articles
Browse latest Browse all 14708

Trending Articles