åè cancan ã§ã¢ãã«ã¯â¥æãã権é管ç How To: Integrate with CanCan for roles management ã¦ã¼ã¶ã¼ã®å½¹å²ã決ãã¦ãå½¹å²ãã¨ã«ã§ãã権éãè¨å®ããã. ããã¯cancanã¨ããgemã§ç°¡åã«ã§ãã. æ§æ³èªåã®ã¢ããªã«æ¬¡ã®ãããªæ¨©éãè¨å®ããã admin ãã¹ã¦ã®æ¨©éããã¤ç®¡ç人ï¼ã¦ã¼ã¶ã¼ç®¡çã»ãã³ãã¬ã¼ã管çã»ããã¥ã¡ã³ã管çï¼manager ãã³ãã¬ã¼ãããããã人ï¼ãã³ãã¬ã¼ã管çã»ããã¥ã¡ã³ã管çï¼user ãã³ãã¬ã¼ãã使ã£ã¦ããã¥ã¡ã³ããä½ã人ï¼ãã³ãã¬ã¼ãèªãã»ããã¥ã¡ã³ã管çï¼æºåmigrationæ¢åã®Userã¢ãã«ã«roleã«ã©ã ãå ãã
{{#tags}}- {{label}}
{{/tags}}