Sparx Systems Forum
Enterprise Architect => Bugs and Issues => Topic started by: mkelman on November 23, 2016, 10:10:16 pm
-
Hello All,
I'm currently using EA 12.1 installed on my local machine. Somehow a lock (red !) has appeared on one of the objects (business process) and I can't remove it because security setting is not switched on.
How do I remove it, when I can't switch security on, and I can access the menu to manage the locks?
I feel like I'm in a catch 22 or a deadlock
-
Have you tried running a project integrity check.
Otherwise the easiest would be to turn security on and remove all locks (why can't you turn security on?)
As a last resort you can also remove all users lock by deleting everything from t_seclocks
You can either do that directly in an SQL client, or use a script with the Repository.Execute()
Geert
-
Hi Geert,
Thanks for the reply.
I tried the integrity check, all OK apart from a couple of little issues that were unrelated.
I can't turn on the security because I don't know the Authorization Code, I guess I could get it from someone in the company.
Lastly, I'm not much of a programmer, just a user of EA. Do you have a script I would need to run?
Cheers
-
An admin can do that from the context menu. You should do that rather than fiddling with the tables on SQL level.
q.
-
The security key is just a fixed GUID that can be found on the registered section of the website.
So if you have the login/password for the registered section you can get the key.
Geert
-
Hello Geert,
Thanks for the information. Very helpful. I'm still baffled to how the lock got applied in the first place, I'm sure I was working on that object yesterday, I'm the only one working on the model and I don't have access to lock it. Oh well, maybe my memory is failing.
Still waiting for IT, but at least with your help I can point them in the right direction.
Thanks
Martin
-
It's not just the regular lock (no security involved) that can be removed by any user by selecting lock in the context menu?
-
Select 'Lock Element' context menu option when you right click on that element on a diagram.