For some use cases it would be nice to know, when on frontend, if an admin is logged in and to fetch the user's ACLs.
I know that this is not "easily" possible, i.e. the
admin sessions are separated on the abstraction level.
I think it should be possible to dig some levels deeper and still access the session.
Additionally I saw work around that pass some tokens from the backend to the frontend - but basically I am not talking about such.
- Are there any obvious problems to expect? Or might that just be impossible for any structural reason?
- I saw shops that log you out from the backend when you browse the store front - what could be the reason for such security measures? (obviously in this case my whole approach would not work).