Can I do it with only session or do I need ACL?
问题 I am planning to create a simple project management system with PHP/MySQL/Codeigniter. There will be a super-admin, an admin and around 20 users. User A, B, C... And there will be around 50 projects. Project 1, 2, 3 ... User A and B will be able to access project 1 pages, User C, D and F will be able to access project 2 pages etc. Can I do it with session? Or do I need to use ACL? How should I structure the DB? Can you give me your ideas please? 回答1: As sessions are mere tools to save user