You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2007/12/20 19:47:34 UTC
[jira] Issue Comment Edited: (TILES-197) Role strings need to be
split at every evaluation
[ https://issues.apache.org/struts/browse/TILES-197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42850 ]
brenmcguire edited comment on TILES-197 at 12/20/07 10:46 AM:
-------------------------------------------------------------------
Now the roles are stored in a Set. The string property is used only to populate the set.
was (Author: brenmcguire):
Now the roles are stored in a Set. The string property it is used only to populate the set.
> Role strings need to be split at every evaluation
> -------------------------------------------------
>
> Key: TILES-197
> URL: https://issues.apache.org/struts/browse/TILES-197
> Project: Tiles
> Issue Type: Improvement
> Components: tiles-api, tiles-core
> Affects Versions: 2.0.4
> Reporter: Antonio Petrelli
> Assignee: Antonio Petrelli
> Priority: Minor
> Fix For: 2.0.6
>
>
> The Attribute.role and Definition.role string contains a comma-separated list of allowed user roles.
> This string needs to be split every time it is needed if a user is in one of those roles. This leads to a small performance problem.
> The roles should be stored inside a Set, eventually created lazily.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.