StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Role Based Security EditorExpand / Collapse
Author
Message
Posted 04/28/2008 10:52:57 AM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: Today @ 9:38:42 AM
Posts: 53, Visits: 631
Chaps,

I have fallen into a problem. I have enabled what I thought was security in my application and where it is at the moment it presents a login to the user and that's it. I was just embarking on the actual security portion, deciding what user roles can get into what forms etc. When I discovered that the security editor that you provide actually looks at the security tables in the SF database, while in my application the security dialog is actually looking at the security tables in my application. As I understand that permission sets can't be altered while an app is running, is there any way that I can use your application to look at the tables in my application.

I have tried this but the SFSProjects table is not present in my application, and I wouldn't actually expect it to be.

I am on 1.6.6 if that makes any difference.

thanks

Geoff

Post #15951
Posted 04/28/2008 11:12:33 AM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: Today @ 9:38:42 AM
Posts: 53, Visits: 631
I think I might have just made things worse. I went into the DDT, and went to re-deploy the security tables, as I thought that they might need updating since I had recently moved to 1.6.6.

This went ahead and IE appeared warning about a relationship that already exists in the database.

When I now try to create a package for install, and include the deployment data, I get the attached error message.

Do I need to remove the security table deployment entries?

thanks

Geoff.

  Post Attachments 
DMT-Error-1026.jpg (5 views, 74.46 KB)

Post #15952
Posted 04/28/2008 11:33:44 AM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: Today @ 9:38:42 AM
Posts: 53, Visits: 631
Guys,

Please ignore my rantings above. I forgot about the deployment packages. Totally 101 today.

thanks

Geoff.

Post #15953
Posted 04/28/2008 11:36:00 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 2:43:51 PM
Posts: 4,241, Visits: 4,285
OK...first, you should never use your standard SF database for the security table in your application.  This is for design-time purposes only.  Second, the exact same dialog gets used within the design-time as your application (SecurityDialog).  Third, the DDT should then package up your security data using the wizard to help you create the Deployment packages.

Now, since you are in a quandry, copy over your existingb PKG file (backup).  Then manually delete the RBS views, tables, and deployment data items.  Then re-add the security tables using the Profile->Add Security Tables options.  Then run the deployment data wizard to import the security permissions back into the DDT.  This should get you to ground zero.  Then, be sure that your application pulls all of the security data from YOUR application database, not the StrataFrame database.  Then when you add new permissions in the future, just rebuild the DDT package and redeploy the data and it will add the new permissions inito YOUR database.  This is how it is intended to be used.  Hope that makes sense

Post #15954
Posted 04/28/2008 11:36:21 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 2:43:51 PM
Posts: 4,241, Visits: 4,285
LOL...I just posted...glad you found it
Post #15955
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 8:11pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.062. 11 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.