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



Trouble! Users on Server . . . Permissions...Expand / Collapse
Author
Message
Posted 01/17/2008 1:44:36 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Today @ 3:36:53 PM
Posts: 427, Visits: 1,714
I manually created a bunch of users based on our AD structure, but I did the work within the run-time application.  Now, I want flesh out the permissions, but the same security window will not allow me to add permissions.  So, I read the documentation.  It says that permissions can only be added through the design-time interface.  Whoa!  Am I stuck, now?  I have users on the server and not on the local.  I need to add permissions, but they will only go on the local.  What do I do to synchronize these databases?

Thanks,
Bill

Post #13525
Posted 01/17/2008 2:00:02 PM
StrataFrame VIP

StrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIP

Group: StrataFrame Users
Last Login: Today @ 10:01:58 PM
Posts: 1,268, Visits: 3,234
You need to deploy the database. Data can be deployed along with schema changes. You pretty much have to do this to deploy new permissions.
Post #13530
Posted 01/17/2008 2:16:06 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 1:19:33 PM
Posts: 4,556, Visits: 4,542
Greg nailed it   The DDT even has a menu item that will import the Security project into your DDT profile for you.  If you do this, you can select your Security project, then package up your DDT profile and deploy it.  This is how it was intended to be used and is the same thing that we do with our medical software.
Post #13534
Posted 01/17/2008 2:28:18 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Today @ 3:36:53 PM
Posts: 427, Visits: 1,714
The DDT is still somewhat of a mystery to me; however, I did use it initially to deploy the security database to the server.  Once the DB got to the server, I updated the users within that DB, not my local.  So, my question is, if I re-deploy the DB from my local with all of sparkling new permissions that I will design, will the scores of users on the server be overwritten by the measly two that are in my local security DB?  That is where my confusion comes in.  I want to overwrite permissions, but not users.  Any additional thoughts?
Post #13538
Posted 01/17/2008 2:31:50 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 1:19:33 PM
Posts: 4,556, Visits: 4,542
So, my question is, if I re-deploy the DB from my local with all of sparkling new permissions that I will design, will the scores of users on the server be overwritten by the measly two that are in my local security DB?

No.  There are a number of options when deploying the data.  You can overwrite, which just overwrites any record with the same pk...good for static data.  You can merge, which will leave any existing records in tact and add the news ones.  And you can Ignore, which will only add records for PKs that do not have exist in the database.  In this example, you probably want to actually overwrite the permissions (as you could make a change and you want it to be reflected) and Merge the users.  So you can do a combination of both.  This is the same process that we use for our medical software...we distribute a "default" user, but always deploy all permissions, groups, etc. on an update.  Hope that makes sense

Post #13540
Posted 01/17/2008 2:46:09 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Today @ 3:36:53 PM
Posts: 427, Visits: 1,714
Thanks for the confidence booster!  I used 'ignore' for the users and 'overwrite' for everything else.  25 seconds later, all of my sparkling new permissions were available to the application.  No users were lost in the shuffle.

It's a beautiful thing! 

Thanks a ton!!
Bill

Post #13547
Posted 01/17/2008 3:12:31 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 1:19:33 PM
Posts: 4,556, Visits: 4,542
No problem
Post #13551
« 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 10:26pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.078. 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.