thymeleaf shiro: haspermission Ichi个 bug

<p shiro:hasPermission="001:">
     有权限   
</p>

With thymeleaf template, shiro: haspermission value must be xxx: yyy this format, xxx: can, that there must be ":" no  ":" to make life difficult to verify. Engage in a long time no solution, I suspect that is not the last ":" The question, really Yes. . . Could split as an array with yet. . .

It also found that if permission is user: the Add , only user: also can pass, html tags with annotations @RequiresPermissions are available through. . .

jsp do not have this problem

Published 11 original articles · won praise 0 · Views 255

Guess you like

Origin blog.csdn.net/cgf_01/article/details/103962572