As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I have a table that I would like to restrict access to all users except for a select group of 12 users that will have access to all of the data.
I have used DBA restrictions many times, but never when dealing with the user base as a whole. Does anyone know how to create a restriction for ALL users and then allow the select few that need all access the ability to see all?
We do not use LDAP so that is not an option for me.
I have seen several discussions over Master File Profiles, but have never used those and haven't found anything on how to set them up or where to go to even set them up.
What I am trying to avoid is having to remember to do maintenance on the DBA restriction list every time we have a user leave or hire someone new.
Thanks, JamieThis message has been edited. Last edited by: FP Mod Chuck,
Thanks for the link BabakNYC, I think that a msster file profile might work, but I need a user list. Does anyone know how to extract a user list from the database of all the WF users?
Did you understand the doc Babak sent you? Notice the MFD_PROFILE is used to dynamically set an && variable.. Using this approach keeps you from needing to list out every single user under the sun.
Let me pass along the doc from a ways back where maybe the use of a &&UID is more helpful in your situation.
If that still doesn't help you get started, try explaining what you want to do. Maybe give us a couple of sample users and what they can or can't see.
Also, I would suggest not making your rules based on Users and instead try to make them based off Groups. It's really up to you.
The reason I'm bringing up the dynamic aspect of the MFD_PROFILE and && variables is that, for any one user trying to use the master, Only one DBA rule probably applies. So you don't really need to list everyone all the time.
Better to just dynamically populate a DBA rule for the user who is connected at run time.
shoot us an example with 2 or 3 users and what you want to do if the manuals aren't helping there. I'll see if I can find you anything else on the topic.
If you still need to, you can get a list of users from the repository table UOA_USERS the NAME field contains the userid and you want to check for a STATUS of ACTIVE or AUTOADD.
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005
Thank you for the information. I will look through it. We are not currently using LDAP so I was trying to accomplish something similar on a per user basis.
Here are some specifics of what I am trying to do.
I have a table of data which includes a column I have called ViewFlag. If the ViewFlag field has an X in it, then I want to restrict users from seeing this record in the data. If the field is blank, then that record is open to all to see. The only 2 values that can be in my ViewFlag field are X and blank.
Normally, I would use DBA Restrictions along these lines:
ALL ACCESS: USER=JCOYNE, ACCESS=R, RESTRICT=VALUE, NAME=SYSTEM, VALUE=VIEWFLAG NE 'J',$
LIMITED ACCESS USER=JCOYNE, ACCESS=R, RESTRICT=VALUE, NAME=SYSTEM, VALUE=VIEWFLAG NE 'X',$
And this would accomplish what I need. The reason I would prefer to not use the method for this case is because the list of users is significant as all of our WF users will have the ability to view this report from a Portal. If I am forced to use this method, then I would have to list out each user (over 100) in either the ALL ACCESS or the LIMITED ACCESS section and then maintain this list as people leave the company and new hires come on. The ALL ACCESS list is limited to about 12 people that will not change frequently, but the LIMITED ACCESS list is likely to change monthly. It is the LIMITED ACCESS list that I am trying to manage automatically.
I thought I understood what Babak referenced, but based on your question, I may not sure understand it as I thought. I am not familiar with && variables. Are you suggesting that there is a way to pass a variable that could then determine which access group the person logging in is classified in?
Again, I will look through the links you have provided, but wanted to give you some details.
You have to set up an adapter connection on the WF Reporting Server to the database where the repository resides and then create a synonym for the uoa_users table.
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005
Why not have two master files, one for restricted and another for no restriction ? Then you either use one of the other according to user. The restricted master file can then have the DBA feature where the other don't.
Since your non-restricted list is limited you can have it coded.
Sample:
-SET &INFILE = IF &IBIMR_user EQ 'manager1' OR 'manager2' OR 'manager3' THEN 'MY_MASTER' ELSE 'MY_MASTER_RESTRICTED';
TABLE FILE &INFILE
SUM ...
BY ...
END
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013
They access the reports through portals only, so yes they have access, but they are not aware of the how or why they see what they see. I suppose if they were crafty enough they could figure out how to get to the Admin dashboard which would show them the app tree, but there is a reason we don't allow them ability to build their own reports...
Agree with you and even my user don't have access to build their own report except from the adhoc report that I'm giving them access. So they never have to choose a master file to build from.
But what I was saying is that within a profile you can limit what user will have access to so you can have "manager" that will access 'MY_MASTER' and other that will access 'MY_MASTER_RESTRICTED' using the same report. And if your users been able to use IA they will only see their "authorized" master file folder.
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013