Skip to content

template扩展需要添加is_granted功能 #7

Description

@li-chun-yin

目前代码中使用has_roles判断用户是否有这些角色,来判断url是否可以显示
但是权限设置时,不一定设置的是用户的角色,有可能是一个其他的字段,
所以需要is_granted函数判断用户是否有权限方法这个url

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions