Complete the initial framework for resource-based permission management, providing the foundation for role-based access control and future permission extensions. Signed-off-by: GL.iNet-Yongping.Xie <yongping.xie@gl-inet.com>