Home > > How to get information about user's capabilities in content folder

How to get information about user's capabilities in content folder

Dear collegues,
I created a few portal pages associated with folders in WLP Repository. These pages contain portlets which display the content of the associated folders of a repository.
Also I've created portlet - Uploader for MS Office files (Uploader gets properties from file, controls it and puts it in associated atributes of new content item). And I've created Delegated administration roles with create|update|publish capabilities for folders of a repository.
Now I need to put on my portal pages control which will display link to Uploader if current user has create|update|publish capabilities to associated folder (via DA role).
But I have faced 2 problems:
1) If user (with DA role) logins from portal page (I use sample login portlet) he cannot create item in repository via Authorization exception (but from Portal Admin Console he can!);
2) I couldn't find API which shows the current user has the necessary capabilities in a corresponding folder.
Help me, please!
Edited by: 817211 on 01.12.2010 4:51
In addition to my post#1 next information to break youк mind.
Today I also have created visitor entitlement (enterprise application scope) and associated content folder/items with view capability for this role.
After I have login on portal page via Sample Login Portlet with my credentials (visitor role above) I have found out that I have no rights to viewing of the necessary content.
What is a problem? May be it's Sample Login Portlet? Or I have to made some additional actions after login to get the existing visitor entitlement rights for current user?
Read the other 7 answers

Related Articles

Hi, I have to get few details in dialog of a component and stored it in node of the content package. how can i retrieve the saved information from the jsp.? any help will be helpful. Thanks in advance.Hi Raja, In a component's jsp, assuming <cq:defin
Hi, hopefully someone knows this. Please... Shot a project on the HVX 200 in 720 PN (60)? Working on it in post and the sequence auto sets to the codec, however all of the footage plays back in +high speed+. Was hoping it was possible to adjust the s
Hi, How can I add the contents of the default-catalog.xml into my own resource catalog? Use Case: I am creating my own resource catalog and under that catalog, I wanted to add two folders. One contains my custom links and the other folder should cont
Hi Guys, I am creating the library using object model with custom content type.  When i am opening document from custom content type, the meta data fields are not displaying in the document and throwing below error. The document information panel was
Hi All, I am facing an issue where i am seeing this error. i am not able to view the content information of any item in my content server. +Event generated by user 'username at host 'servername'. Unable to retrieve information for 'content id'. Unabl
I install the iCloud Control Panel and information is uploaded from my Outlook Contact folder to iCloud.  ICloud folders are created and syncing process between my iPhone, iCloud, and Outlook works for a while (day or 2).  Then, when I open Outlook a
I have a corrupted bookmark file and want to totally delete any information on the bookmarks and settings. I have deleted any files which reference Mozilla and Firefox from my hard drive and have gone into the Registry and deleted all references to F
I would like to reset or wipe my computer of my personal information.Settings > General > Reset > Erase all content and settings DONERead other 3 answers
Hi all, I have a question to the Collaboration Launch Pad CLP, for example accessing the CLP by http://<myPortal>/irj/servlet/prt/portal/prtroot/com.sap.netweaver.coll.shared.ui.CollaborationLaunchPad I'm able to add Contact Lists / Contacts / Room
Hi, I am trying to setup FSRM in Windows 2012 and while adding G:\ for file screen, I get the following error. Upon investigating the issue, I found that "System Volume Information" is missing under G:\ and same folder very much exists in C: and
How do I display the tags on the headers of MP3 files, pocasts? These sometimes have information or brief description of the contents, I can see a short snippet under the title at the top center of the screen while playing the file, but not much else
Is there a way to generate a report that shows the entities and attributes that are mapped to an information store and/or structure and/or data flow? I cannot find the data in the reporting repository schema and this is rather limiting. I'm using it
Hi, Will syncing (specially Music) with another iTune library erase all applications and information in the iPhone? After adding folder of my favourite music to the itune library on my computer, it says: "your iphone is synced with another iTune libr
When i right click on a file select save target... the folder window opens but the view is distorted, then it fails to respond, nothing happens, then i get annoyed and close the window, when it then insists on closing firefox. I went to you site and
Hello, I recently had my Macbook Pro upgraded to Lion and I am having trouble finding a way for the information on the bottom of every folder  to show up.  I am talking about the information that displays how many files the folder has/ how big the fi
All the contacts when clicked say loading but never open the information so I can modify the contents of the contactCould be a lot of reasons. Contact your email admin at work and ensure you have the correct url. Also check with your admin if any bro
I'm moving job locations and need to transfer my itunes information on my work PC like contacts and music, etc, to my personal laptop to continue using itunes there exclusively.  When I try to sync my iphone to my laptop a message says everything on
HP LinkReader app information and support can be found on the HP LinkReader support page:  http://h10025.www1.hp.com/ewfrf/wc/document?docname=c04371390&tmp_task=setupCategory&cc=us&dlc=en&lc... For more information on creating and using d
can I create folders in a PDF file same as we do with the Adobe Acrobat Portfolio using only DDX? I tried using PackageFiles, but had no results.The Assembler service in LiveCycle ES (8.2) does not provide a way to specify folders within a PDF portfo