Hi All!
I came across an interesting security issue that I am hoping Servoyans could help me figure out, like they always do
As soon as I started developing custom security for our multiwindow application I found that it’s not going to just work automagically.
The way our multiple windows work is by cloning the design form with all tabs and forms in it and showing the cloned forms.
The design-time forms are almost never shown.
So, in my security module I created a similar screen to one in the Servoy Security Provider Example that has the list of forms and their elements for me to set the ‘visible’ and ‘accessible’ flags on and off (for User Interface level security).
A very nice solution really.
However, after I set permissions on an element of a form (design-time form clearly) and cloned that form, permissions are not cloned with the element.
So my first question would be whether permissions on a cloned form’s elements are to be expected to transfer from the original form to the clone?
And if they are not, then some ideas on how to work around this problem would be highly appreciated. If there was a way to get ALL security settings or security settings for a form or element, then I could apply them to my clones as I spawn them. But I cannot seem to be able to find those… (except querying my permissions table in the database)
Am I missing something very simple here?
Cheers,
Maria

