1. Sim Joo Pee
  2. PowerServer
  3. Tuesday, 12 September 2023 02:33 AM UTC
Hi All,
 
Currently we had successfully deploying powerserver project and it undergo testing phase now.  And we are using the PFC (Pfcsecad/pfcsecsc) to configure the user/group setting and apply it to our application. However, due to PowerServer, may i know what should i do to apply this into powerServer?  How to configure the API /data models for this? 
 
Kindly advice. Thank you.
 
I am using PB2022 Build 1900
Craig Meinen Accepted Answer Pending Moderation
  1. Wednesday, 20 September 2023 22:45 PM UTC
  2. PowerServer
  3. # 1

Comment
  1. Arnd Schmidt
  2. Wednesday, 20 September 2023 23:36 PM UTC
"agency_address1" is something different than "address1".

Is there another control in the datawindow control list that is named "agency_address1"?

Does the application work fine when running from the PowerBuilder IDE accessing the same database?
  1. Helpful 2
There are no comments made yet.
Craig Meinen Accepted Answer Pending Moderation
  1. Monday, 18 September 2023 23:28 PM UTC
  2. PowerServer
  3. # 2

Hi All.

I am working with Sim Joo on this security issue.  I'm at a loss at the moment as to what we are doing wrong.  I'm admittedly not as familiar with the security application as she is, but I'm trying to help because we are running up against a time limit to get this working.  If someone would please take a look at the attachment, it would be appreciated.  We have seemingly disparate side effects in what we are getting from a single setting on a column on a datawindow.  As can be seen below, we have disabled a column, which is failing, and we no longer have the menu bar displayed. 

Any and all feedback is much appreciated.  Thank you.

 

This is one of many error messages that I saw when I attempted to set up the user/objects.

I don't know why it isn't passing the validation test.  Is that determined during the scanning process initially?

 

Attachments (1)
Comment
  1. Arnd Schmidt
  2. Tuesday, 19 September 2023 13:14 PM UTC
It shows that you the security information in the repository (security tables) are not in sync with your application.



The PFC Security Service (pfc_n_cst_security) tries to set a column and fails.

This can happen if you maintained datawindows or windows and renamed or deleted column objects or controls so that they do not exist anymore.



What I do not understand is that this should be related to a PowerServer deployment.

If it just happens in PowerServer then it seems as if you are retrieving different informations from the security tables as if you are running from the IDE.

  1. Helpful 1
  1. Arnd Schmidt
  2. Tuesday, 19 September 2023 17:39 PM UTC
Hmm. I just rechecked the pfc.

Normally pfc would check the existence of the controlname prior to a modify with a statement to continue/ignore a bad entry in the security table:

ls_result = adw_obj.Describe(ls_column+'.name')

If ls_result = "!" Then Continue



So it seems as if something named "agency_address1" exists.

Can you confirm that this is also an item with a protect property?

  1. Helpful
  1. Craig Meinen
  2. Wednesday, 20 September 2023 23:00 PM UTC
Hi Arnd.

Thank you for your reply. I must apologize to all who replied and got no response from us. We have been head-down on this as of late. So thank you to all of you for your comments.



I just wanted to confirm that there is protection on the field.



  1. Helpful
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 12 September 2023 14:42 PM UTC
  2. PowerServer
  3. # 3

This should work exactly the same no matter you deploy your app a traditional client/server or you deploy as PowerServer.  There are only two key things to be aware of:

1. Make sure you have upgraded to latest version of PFC: https://github.com/OpenSourcePFCLibraries

2. Make sure your app does not contain unsupported features: https://docs.appeon.com/ps2022r2/unsupported_features_guide.html

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 12 September 2023 11:47 AM UTC
  2. PowerServer
  3. # 4

Hi Sim;

  The PFC Security feature only controls the client application itself. It does not affect (know or understand) the PS data middle tier. Thus, it "should" be transparent to PS Apps.

Regards ... Chris 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.