- Issue created by @marcus_johansson
- Merge request !87Allow the agent tools to be executed by a user with the correct roles. → (Open) created by MrDaleSmith
- 🇬🇧United Kingdom MrDaleSmith
OK, I've tested this as best I can, but I think this will need careful review: we are essentially logging in here as a user with elevated permissions but none of the other features of a user account. This could cause security issues if this user gets saved or otherwise sticks around longer than we think it will. At a more basic level, any code that checks $user->isAnonymous() whilst our user is logged in is going to either throw a fatal error or provide an incorrect answer.