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



Delete Permission - Deployment IssueExpand / Collapse
Author
Message
Posted 03/08/2007 8:54:30 AM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: 10/09/2008 3:01:42 PM
Posts: 309, Visits: 1,246
I deployed my role based security data to my test system. I then went in and created roles and users...etc.

I discovered a few permissions that were no longer required so I went back into my security project, deleted the permission and then redeployed the security data using the deployment wizard.

When I went back into role based security on my test application (user version), I noticed that the permission still exists under my roles and I can still assign the permission. (I do not show the permissions tab in the end user version of security)

Is there anyway to remove this permission during the data deployment phase?  I also noticed the same problem with deploying standard data sets.  If I decided to remove data from the standard data deployment set, I cannot remove the data from the destination database, assuming the original data had already been deployed.

Is there a flag I'm missing when creating the deployment packages that will handle this?

Thanks,
Tim

Post #7353
Posted 03/08/2007 9:34:22 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 3:06:58 PM
Posts: 4,599, Visits: 4,576
Is there anyway to remove this permission during the data deployment phase?

This is something that we have run into ourselves recently.  At the moment the DDT only overwrites the PKs that exist, but does not remove any previous values.  This gets very complicated when you start removing items from the list because of all of the foreign key constraints.

We have discussed adding a deployment option in the DDT to "Flush then Overwrite" which would remove all of the records before adding any item data back in....but we have to thoroughly work through this process before we make a brash change because we need to logically work through the process so that all data integtrity is kept in check.

For the moment, we have just been bringing up the SQL Server Management Studio and manually removing the records.  But there is a legtimate need for this to be automated...we are just working on the best way to approach this.  This will not be available until 1.6.2 or so.

Post #7356
Posted 03/08/2007 9:43:57 AM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: 10/09/2008 3:01:42 PM
Posts: 309, Visits: 1,246
Thanks Trent.

"Flush then Overwrite" is exactly what I'm looking for to handle my standard deployment data, but I can see how you would have to think it through for other circumstances such as permissions etc...

I will figure out a work around for now.

Tim

Post #7358
« 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 4:11pm

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