Thomas Casteleyn
Thomas Casteleyn
Discussed with @etaloc; The solution suggested by Combodo for 3.1 is implicit (when a link only has 2 external keys it is assumed to have uniqueness) while my solution in...
As far as I can see, the only reason why something is failing is because the user can see `Organization` he normally has no access to. So, can't this class...
So, if a user doesn't have permissions/access to an Org anymore, how can it then select that Org when creating a new AppSol?
Okay, and what happens then in that case?
Okay, now I get the use case, but it seems there is already permission handling in place: https://github.com/Combodo/iTop/blob/94fdc79be58b298ff5d1215c3b6103c0b1f19fed/pages/UI.php#L425-L430 Or for 2.7 branch: https://github.com/Combodo/iTop/blob/9af4846372f4b3160f45bd081b170f31615f878b/pages/UI.php#L146-L151
Indeed, because you did some modifications. If you would also do the needed modifications in method `UserRights::IsActionAllowed`, a normal message would be displayed instead of this crash and stack-trace.
Hi @eespie what is the goal of "event service" ?
I'm not sure this is meant to be used with xml, as this type is also not documented in the xml data model reference wiki page.
🤷 Don't ask me … 😂