阅读背景:

如何使用Rails 5和Pundit或其他gem实现组/团队权限系统?

来源:互联网 

From what I understand of Pundit so far, it is geared more toward allowing the current user to perform certain actions on certain controllers, but how is it possible to extend this to cover if the user is part of a team or group that that would allow them certain actions? Or for one user to allow another user certain actions on, say, a post they created?From what I understand of Pundit so far, it is




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: