My 2p about ERP Solutions, Information Worker Solutions and other software products (mainly Microsoft Dynamics AX and Microsoft SharePoint).

08 January 2015

Modifying Security in application workspace not possible if version control is enabled

by Patrik Luca 12 comments

Tag



Problem description: modifying Security in application workspace not possible if version control is enabled

In case version control is enabled, it is not possible anymore to create new Security roles, new Duties, copy Duties, delete Duties through the Dynamics AX application workspace. You always have to open a development workspace and have access to the AOT.

Solution: disable check on version control

Modify following objects in the AOT to enable modifying Security in the application workspace with version control enabled.

Class SysSecTree, method canDoStuff:


boolean rootSelected, atLeastOneNodeSelected;

// BGN to allow user to create security duties through GUI in case version control is on
//if (SysSecHelper::isVersionControlOn() || !treeControl)
//{
// return [false, false, false, false, false, false];
//}
if (!treeControl)
{
return [false, false, false, false, false, false];
}
// END

idx = treeControl.getFirstSelected();
...


Form SysSecRolesEditTasks, method init:



...
refreshSingleSecurityButton.visible(true);
}

// BGN
// to allow user to create security roles through GUI
// in case version control is on
//
//if (SysSecHelper::isVersionControlOn())
//{
// this.enableReadOnlyMode();
//}
//else
//{
// roleName.viewEditMode(ViewEditMode::Edit);
// roleDescription.viewEditMode(ViewEditMode::Edit);
//}

roleName.viewEditMode(ViewEditMode::Edit);
roleDescription.viewEditMode(ViewEditMode::Edit);
// END

sysTreeControl = new SysSecTreeControl(this as Object);
...

Comments 12 comments
Sildenafil Softgel said...

Very nice blog..glad to read this.

Abiya Carol said...

It's interesting that many of the bloggers your tips helped to clarify a few things for me as well as giving.Most of ideas can be nice content.Sometimes you just have to yell at people and give them a good shake to get your point across.Being new to the blogging world I feel like there is still so much to learn.Your tips helped to clarify a few things for me as well as giving.

http://www.thinkittraining.in

Sathya G said...


the blog is very useful, interesting and informative. thank you for sharing the blog with us. keep on updating.
Informatica Training in Chennai

Abiya Carol said...

It's interesting that many of the bloggers to helped clarify a few things for me as well as giving.Most of ideas can be nice content.The people to give them a good shake to get your point and across the command .

PPC Services in Chennai

Aasha said...

Wow amazing i saw the article with execution models you had posted. It was such informative.By explaining this type we can identify the concepts easily. So thank you for this sharing.

SEO Training in Chennai

Shalini said...

Superb. I really enjoyed very much with this article here. Really it is an amazing article I had ever read. I hope it will help a lot for all. Thank you so much for this amazing posts and please keep update like this excellent article.thank you for sharing such a great blog with us. expecting for your.
Digital Marketing Company in India
seo Company in India

Abiya Carol said...

Such a great articles in my carrier, It's wonderful commands like easiest understand words of knowledge in information's.

Digital Marketing Course in Chennai

Nadeem Malik said...

hi, nice information is given in this blog. Thanks for sharing this type of information, it is so useful for me. nice work keep it up. digital marketing company in delhi

Digital Marketing Agency said...

Hi! I have more than 4 Years of experience and I am the Founder of a Website Development Company in Rohini, Delhi. I just want to say thank you for posting such a useful, impressive and a wicked article.

Vikash Kumar said...

nice topic which you have choose.
second is, the information which you have provided is better then other blog.
so nice work keep it up. And thanks for sharing. Epoxy Grout manufacturer in delhi

Vikash Kumar said...

Laminated Doors manufacturer in hubli

Amase LED Lighting said...

led lawn lights in delhi

Patrik Luca, Ieper, BELGIUM
Feel free to use or spread all of the content on my blog. In return, linking back to my blog would be greatly appreciated. All my posts and articles are provided "AS IS" with no warranties.

Subscribe feeds via e-mail
Subscribe in your preferred RSS reader

Subscribe feeds rss Most Read Entries

Subscribe feeds rss Recent Entries

Categories

Recommended Books


Subscribe feeds rss Recent Comments

This Blog is part of the U Comment I Follow movement in blogosphere. Means the comment field of this blog is made DOFOLLOW. Spam wont be tolerated.

Blog Archive

My Blog List

Followers

Links