[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3134) role and permission should be with an additonal property as full name

Jie Situ (JIRA) jira-events at lists.jboss.org
Mon Jun 23 17:20:28 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBSEAM-3134?page=comments#action_12418604 ] 
            
Jie Situ commented on JBSEAM-3134:
----------------------------------

As the example shows, the available permission is set by the @Permissions annotation. So when I show the permission available, I have to internationalized it in the message properties. And I think that there should be some measures to manage the permission available except the @Permissions annotation. So that the permission can be dynamic assigned just as the thread in the forum shane replied. url:http://www.jboss.com/index.html?module=bb&op=viewtopic&t=103324&postdays=0&postorder=asc&start=0

> role and permission should be with an additonal property as full name
> ---------------------------------------------------------------------
>
>                 Key: JBSEAM-3134
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-3134
>             Project: Seam
>          Issue Type: Feature Request
>          Components: Security
>    Affects Versions: 2.1.0.BETA1
>            Reporter: Jie Situ
>
> For development purpose, role is represented as name in English, and permission is represented as a combination of target and action.  But when it's used, the name in English is not enough. In other language application, usually role and perrmission should be with a name in native language for display in the view-tier. Althought the property can set myself in the Entity. But always the role and permssion are managed by the manager Seam provide. So the Role in security package and the Permission in security.permission package should be with an addtional property as fullname.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list