| Mojolicious :: Plugin :: ½ÂÀÎ ±ÇÇÑÀ» Á¶±Ý ´õ ½±°Ô ¸¸µé ¼öÀÖ´Â Ç÷¯±×ÀÎ |
Áö±Ý ´Ù¿î·Îµå |
Mojolicious :: Plugin :: ½ÂÀÎ ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~byterock/
Mojolicious :: Plugin :: ½ÂÀΠű×
Mojolicious :: Plugin :: ½ÂÀÎ ¼³¸í
Mojolicious :: Plugin :: AuthorizationÀº RBAC (Role ±â¹Ý ¾×¼¼½º Á¦¾î)ÀÇ ¸Å¿ì °£´ÜÇÑ API ±¸ÇöÀÔ´Ï´Ù. ÀÌ Ç÷¯±×ÀÎÀº ¿ªÇÒ ¹× ±ÇÇÑÀ» ¼³Á¤ÇÏ´Â ¸ðµç ÀÛ¾÷À» ¼öÇà ÇؾßÇÏ´Â API ÀÏ»ÓÀ̸ç Ç÷¯±×Àο¡¼ »ç¿ëÇÏ´Â 4 °³ÀÇ ÇÏÀ§¸¦ Á¦°øÇؾßÇÕ´Ï´Ù. Ç÷¯±×ÀÎÀº ÇöÀç ¼¼¼ÇÀÌ »ç¿ëÇÏ¿© ±ÇÇÑ ¿ªÇÒÀ» °¡Á®¿Ã °ÍÀ¸·Î ¿¹»óÇÕ´Ï´Ù. ¶ÇÇÑ ÀÌ¹Ì ÀÎÁõµÇ¾úÀ¸¸ç ¿ªÇÒÀÌ ¼³Á¤µÇ¾ú´Ù°í °¡Á¤ÇÕ´Ï´Ù. ÀÌ´Â »ç¿ëÀÚ°¡ ÁÁ¾ÆÇÏ´Â ½Ã½ºÅÛÀ» ¹«·á·Î ±¸ÇöÇÒ ¼ö ÀÖ½À´Ï´Ù. Synopsis´Â Mojolicious :: Plugin :: Authorization $ self-> plugin ( '±ÇÇÑ ºÎ¿©'=> {has_priv '=> sub {...},'is_role ') => sub {...}, 'user_privs'=> sub {...}, 'user_role'=> sub {...},}); if ($ self-> has_priv ( 'delete_all', {option => "Ãß°¡ µ¥ÀÌÅÍ Àç·á '})) {...} Á¦Ç° ȨÆäÀÌÁö
Mojolicious :: Plugin :: ½ÂÀÎ °ü·Ã ¼ÒÇÁÆ®¿þ¾î