incubator-photark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sriskandarajah Suhothayan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PHOTARK-58) Sample "Vegas" album is not being visible by default
Date Fri, 20 Aug 2010 19:04:16 GMT

     [ https://issues.apache.org/jira/browse/PHOTARK-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sriskandarajah Suhothayan updated PHOTARK-58:
---------------------------------------------

    Attachment: fix_for_the_issue_PHOTARK-58.patch

> Sample "Vegas" album is not being visible by default
> ----------------------------------------------------
>
>                 Key: PHOTARK-58
>                 URL: https://issues.apache.org/jira/browse/PHOTARK-58
>             Project: PhotArk
>          Issue Type: Bug
>    Affects Versions: PhotArk M3
>            Reporter: Luciano Resende
>            Assignee: Sriskandarajah Suhothayan
>             Fix For: PhotArk M3
>
>         Attachments: fix_for_the_issue_PHOTARK-58.patch
>
>
> When deploying a photark, users should see Boston and Vegas sample albums. Currently,
only Boston is being visible.
> While debuging, JCRGalleryImpl getAlbumsToUSer is failing to add Vegas album due to the
current "anonymous" user not have permission:
>  List<Album> userAlbums = new ArrayList<Album>();
>         for (Album album : albums) {
>             String[] permissions = new String[]{ALBUM_VIEW_IMAGES_PERMISSION};
>             if (accessManager.isPermitted(accessManager.getUserIdFromSecurityToken(securityToken),
album.getName(), permissions)) {
>                 userAlbums.add(album);
>             }
>         }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message