ask for advice
background uses beego to build
scenario description:
background has some operations for each row of data, such as editing and deletion, etc. Now the server has passed the InsertFilter time before routing permission detection.
now it just wants to keep the buttons that users do not have permissions from the page.
your own solution
wants to be handled by user-defined template functions, but the custom template functions have to be registered before beego.run, so how to read the permission list from session is a problem! It seems unable to call session,
so what should I do?