Ok, I’m really hoping someone can help me on this…I’ve put a request in the support system, but am not getting any response as yet and I’ve got a pretty mad client.
I feel like I must be really dim and just be missing a checkbox somewhere, but I cannot get Table security to export with a solution. At first, I assumed it was something to do with my solution, but I’ve tried clean solutions with the same result. Here’s what I know…
All these steps have been tested in Servoy 3.5.3, both in my stock install and in a clean install, on Mac (Leopard), and WinXP (java6).
I can create a solution, with one form, using example data, two groups, each with a user attached.
In the security dialog, check “login required”, and assign privileges to the form and tables used in the solution. In this case I did “viewable” for the form and “Explicit-Read” for the table…but it doesn’t seem to matter what.
Login as the different users, test the security, all working great.
Go to the repository and export the solution. I don’t know all the details of the “.servoy” export format, but I’ve tried all combinations of the export options and dug in the unzipped file – in no case can I find any reference to the table security settings being exported. The /solution/[solutionname]/security_info.xml file has the form security settings in it.
Import this solution – in a different install of Servoy, same one, whatever – either via server-admin or the developer repository dialog. You get asked to import the group security settings, etc.
Once imported, the table level security is not there. If you’re importing over the original, your settings that were there are wiped out.
I can’t find anything in the docs about this – but I’m pretty sure those table security settings should get exported with the solution.
HELP!!! I was delinquent in testing, because I just assumed these settings were going with my exports – but I’ve got a rather upset client who’s suddenly discovered their security is not being enforce.
I’m going to have to manually create table security on the server tonight – but it will get wiped out on the next import, so I need to get this solved…
Anyone seen this? Am I a bonehead and missing something obvious? Help!!!
Thanks,
Greg.