public static void p5_auth_access_add(ApplicationContext context, ActiveEventArgs e) { if (context.Ticket.Role != "root") { throw new LambdaSecurityException("Non-root user tried to execute a protected operation", e.Args, context); } using (new ArgsRemover(e.Args, true)) { AuthenticationHelper.AddAccess(context, e.Args); } }