VLF-ONE Missing Users and Authorities After EPC Install

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
jyoung
Posts: 694
Joined: Thu Jan 21, 2016 6:43 am
Location: Oklahoma City, OK USA

VLF-ONE Missing Users and Authorities After EPC Install

Post by jyoung »

Installed EPCs 31 and 50 the did the "Partition Init" as outlined in
http://docs.lansa.com/14/en/lansa048/in ... lf3060.htm.

You used to be able to view the Users and Authority in the VLF Tools but it looks like in the new version you cannot, I just get the help page about Users, Groups and Security shown.
Capture2.PNG
Capture2.PNG (60.95 KiB) Viewed 11101 times
I had "UseFrameworkObjectAuthority" enabled for local development (the userprofiletocheck mapped to an admin user) and after the EPC update, I could not log into the Framework.
I disabled "UseFrameworkObjectAuthority" and got in, then went to the Administration application, Users & Authorities and searched for all users (just click the search button) and no users showed up. :shock:
Capture.PNG
Capture.PNG (46.92 KiB) Viewed 11101 times
I had 3 users, ADMIN_USR, CREDIT_USR and READONLY_USR that I mapped user profiles to. I don't know what happened to them.

On the iSeries, I re-initialized the partition as outlined in http://docs.lansa.com/14/en/lansa048/in ... lf3225.htm and the users and authorities are still there.

So it seems like something happened to my LOCAL users and authorities.

Any idea on what may have caused this?
MarkD
Posts: 692
Joined: Wed Dec 02, 2015 9:56 am

Re: VLF-ONE Missing Users and Authorities After EPC Install

Post by MarkD »

The partition initialization would have deleted and recreated the table.
Unfortunately you will have to reenter their details.
MarkD
Posts: 692
Joined: Wed Dec 02, 2015 9:56 am

Re: VLF-ONE Missing Users and Authorities After EPC Install

Post by MarkD »

To reenter them in your localhost system:

- You should be able run any VLF-ONE framework containing the admin options, or the shipped demo, in localhost mode.

- Or you could use the execute as VLF-WIN option to start the framework as a designer and use the User option on the menu bar, the same way as you have done previously.

There's other changes in the user area resulting from customer feedback:
=> The importance of having "special" user that can bootstrap the first administrator into life has a higher profile in documentation and example code.
=> There is a Common Activity that will automatically add the default User and Server administration options to any VLF-ONE framework design.
jyoung
Posts: 694
Joined: Thu Jan 21, 2016 6:43 am
Location: Oklahoma City, OK USA

Re: VLF-ONE Missing Users and Authorities After EPC Install

Post by jyoung »

Had a lot of confusion because it "looked" like the Users & Authorities was been completely short circuited under localhost host. The reason for my confusion was that I would add a user, it would appear that it added by giving me the message and showing in the list.
Capture1.PNG
Capture1.PNG (37.24 KiB) Viewed 11075 times
However, clearing the list and searching again brings nothing back, So it "looks" like the save did not work. Yet I could still log in with the framework security enabled.
Capture2.PNG
Capture2.PNG (35.68 KiB) Viewed 11075 times
Apparently an empty search does not work anymore, as you MUST put something in the search field, even though you are not told to do so.
Capture4.PNG
Capture4.PNG (20.53 KiB) Viewed 11075 times
This to me is a bug. An empty search should bring back all users like it did before.

EDIT
Deleting Profiles does not seem to work either. Using Chrome's Dev Tools shows hitting the delete button, sends no request to the server.

Should you be able to create multiple users with the same User Profile/Name?
MarkDale
Posts: 116
Joined: Wed Dec 02, 2015 10:06 am

Re: VLF-ONE Missing Users and Authorities After EPC Install

Post by MarkDale »

Hi,

The search for blank should return all users. You should log this problem with lansa support and request a high priority hotfix.

You can have multiple users with the same user profile, since the users are identified by GUID. But you would not normally do so.


The delete users problem is a separate issue. You can circumvent it for now by going to the business object's properties --> commands allowed
and unchecking the hidden property on the Delete Profile command, and changing it to Default = Never.
There will be a fix for it in the first hotfix for epc141034.
MarkDale
Posts: 116
Joined: Wed Dec 02, 2015 10:06 am

Re: VLF-ONE Missing Users and Authorities After EPC Install

Post by MarkDale »

Re the problem: search for blank should return all users.

A patch has been issued for this issue, and you should contact your local support team to get a copy.

The patch is called EPC141050HF_170829.
jyoung
Posts: 694
Joined: Thu Jan 21, 2016 6:43 am
Location: Oklahoma City, OK USA

Re: VLF-ONE Missing Users and Authorities After EPC Install

Post by jyoung »

Thanks Mark!

I thought it was minor enough to wait for the next EPC, however I just got a call from Pat to ensure I got it. :o

Thanks for the awesome support!
Post Reply