Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: JayBee on February 15, 2018, 12:35:27 am

Title: Script creation issue
Post by: JayBee on February 15, 2018, 12:35:27 am
If I create a new project I am able to add a new Script Group and new scripts within that group. However when I try doing the same with an existing project that is SQL Server based I am unable to do anything with scripts. Is that because it is SQL Server based? I can't figure out why I am unable to do any scripting in that project.
Ver 13.0.1309 Ultimate
Title: Re: Script creation issue
Post by: Uffe on February 15, 2018, 01:22:25 am
Hello,

All EA functionality is the same regardless of the type of repository you're using so that's not it.
It sounds more like you're missing security permission Edit Scripts in that project. Whereas a new project doesn't have security enabled, and thus all functionality is available.


/Uffe
Title: Re: Script creation issue
Post by: JayBee on February 15, 2018, 01:30:06 am
Thanks Uffe,

That was it. I assumed incorrectly that Admin role would have those permissions.
Title: Re: Script creation issue
Post by: Uffe on February 15, 2018, 07:12:21 pm
Admin is really just another user account: it does not bypass the permissions check, it just gets all permissions when it is created (ie when you enable user security). However, the Edit Script and Run Script permissions were added in 13.0, and accounts in projects which have been created with an earlier version are not automatically granted new permissions.

/U