Trouble! Users on Server . . . Permissions on Local


Author
Message
Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Forum Members
Posts: 785, Visits: 3.6K
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

Replies
Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Forum Members
Posts: 785, Visits: 3.6K
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?
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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 Smile

Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Forum Members
Posts: 785, Visits: 3.6K
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!  Wow

Thanks a ton!!
Bill

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
No problem Smile
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Bill Cunnien - 17 Years Ago
Greg McGuffey - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Bill Cunnien - 17 Years Ago
Trent L. Taylor - 17 Years Ago
                         Thanks for the confidence booster! I used 'ignore' for the users and...
Bill Cunnien - 17 Years Ago
                             No problem :)
Trent L. Taylor - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search