Unable to Add Or Edit Permissions


Author
Message
Jeff Pagley
Jeff Pagley
StrataFrame User (305 reputation)StrataFrame User (305 reputation)StrataFrame User (305 reputation)StrataFrame User (305 reputation)StrataFrame User (305 reputation)StrataFrame User (305 reputation)StrataFrame User (305 reputation)StrataFrame User (305 reputation)StrataFrame User (305 reputation)
Group: StrataFrame Users
Posts: 223, Visits: 893
I started my database by using a copy of the Strataframe Example database which had the Security tables.  I open the Security Dialog box through code (see below).  The editor allows me to add/edit users and roles, but not permissions.  What is wrong?

Program.cs Code:

System.Data.SqlClient.SqlConnectionStringBuilder builder = new System.Data.SqlClient.SqlConnectionStringBuilder();

builder.DataSource =
"1LPJPAGLEY\\SQLEXPRESS";

builder.InitialCatalog =
"CEI";

builder.UserID =
"sa";

builder.Password =
"access";

DataLayer.DataSources.Add(new SqlDataSourceItem("", builder.ConnectionString));

//Set the data source key for the security tables

SecurityBasics.SecurityDataSourceKey = "";

 

Form Code:

MicroFour.StrataFrame.Security.SecurityDialog frm = new MicroFour.StrataFrame.Security.SecurityDialog();

frm.ShowDialog();


Thanks,

Jeff
Reply
Trent Taylor
Trent Taylor
StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Working backwards, if you have two projects then you need to create 2 security projects.  Once for each, so if you set this up correctly, then yes, you can distinguish between each project and deploy them appropriately.  When you create the permissions, then you just pop over to the DDT, repackage, then deploy data only (after the tables have been created) to update your database with the appropriate permissions.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Jeff Pagley - 14 Years Ago
Trent L. Taylor - 14 Years Ago
Jeff Pagley - 14 Years Ago
Trent L. Taylor - 14 Years Ago
Jeff Pagley - 14 Years Ago
                         Jeff, How are you developing? It is generally not a good idea to work...
Trent L. Taylor - 14 Years Ago
                             I have not deployed the production database yet. I am still working on...
Jeff Pagley - 14 Years Ago
                                 Working backwards, if you have two projects then you need to create 2...
Trent L. Taylor - 14 Years Ago
Jeff Pagley - 14 Years Ago
Trent L. Taylor - 14 Years Ago
Jeff Pagley - 14 Years Ago
Trent L. Taylor - 14 Years Ago
                         Sorry about the confusion. Let me explain it this way. This is only...
Jeff Pagley - 14 Years Ago
                             Okay...there is the problem. The StrataFrame RBS tables get deployed...
Trent L. Taylor - 14 Years Ago
                                 Hi Edhy, Trent and Greg, As always, thank you for the awesomesupport...
Jeff Pagley - 14 Years Ago
                                     If your using the DDT, the actual deployment takes about a minute....
Greg McGuffey - 14 Years Ago
                                     Well, if it is that fluid at the moment, just write an SQL script to...
Trent L. Taylor - 14 Years Ago
                             Hi Jeff, Yes you are right to be confused, I have been there too...
Edhy Rijo - 14 Years Ago
                             Jeff, I've been catching up on this and this statement makes me a bit...
Greg McGuffey - 14 Years Ago
                                 Jeesh, Trent and Edhy beat me to it! Hopefully between the three...
Greg McGuffey - 14 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search