Page 1 of 1
VLF-ONE Missing Users and Authorities After EPC Install
Posted: Tue Aug 15, 2017 4:02 am
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 (60.95 KiB) Viewed 11103 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.

- Capture.PNG (46.92 KiB) Viewed 11103 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?
Re: VLF-ONE Missing Users and Authorities After EPC Install
Posted: Tue Aug 15, 2017 9:47 am
by MarkD
The partition initialization would have deleted and recreated the table.
Unfortunately you will have to reenter their details.
Re: VLF-ONE Missing Users and Authorities After EPC Install
Posted: Tue Aug 15, 2017 9:56 am
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.
Re: VLF-ONE Missing Users and Authorities After EPC Install
Posted: Wed Aug 16, 2017 12:23 am
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 (37.24 KiB) Viewed 11077 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 (35.68 KiB) Viewed 11077 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 (20.53 KiB) Viewed 11077 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?
Re: VLF-ONE Missing Users and Authorities After EPC Install
Posted: Wed Aug 16, 2017 9:30 am
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.
Re: VLF-ONE Missing Users and Authorities After EPC Install
Posted: Tue Aug 29, 2017 3:02 pm
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.
Re: VLF-ONE Missing Users and Authorities After EPC Install
Posted: Fri Sep 08, 2017 2:22 am
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.
Thanks for the awesome support!