cancel
Showing results for 
Search instead for 
Did you mean: 

Add content but don't wanna see it there!

fbehfar
Champ on-the-rise
Champ on-the-rise
Hi there,
I want a permission, with it I'm able to add a content. but after I uploaded it, I don't wanna be able to save it or open it!
like a Post box, you can add a mail there but you can not reach it after you through it!
In other word, this permission should be able to add a content in a space, but as soon as that user added it, he/she shouldn't see it!
My manager wants a space, in which his colleagues, could add a content but after they upload it, no one (even the uploader) should be able to reach it or even to see it! In alfresco, every file you see it you can download (or save as) it to your PC. I wanna see only the name of the file without the ability to download or save as it.
Actually I don't want any of read or copy or Preview Permissions, I just wanna add a content without seeing it.

another question:
Can I get a log to see, who has downloaded a specific file? I can see the history of the file, when they check out/in the file, but I wanna have a log of the people who has downloaded or opened it!
is there any solution?

thank you in advance!

FSB
8 REPLIES 8

midhun
Champ in-the-making
Champ in-the-making
Even I would like to get  some information  on the similar scenario

fx3000se
Champ in-the-making
Champ in-the-making
imagine the follwoing space "structure":
- receipts
   - postbox [access for everyone]
   - incoming [exclsuive access for boss]

Now on the "postbox" space define a rule which moves the documents over to "incoming"…

Would that suffice?

fbehfar
Champ on-the-rise
Champ on-the-rise
Hi,
thanks, that was a great idea. it was really helpful!

but any idea about the  log that I asked? i need a log of the users, who has seen it or downloaded it!do u have any ideas??????

thank you again for your help!

FSB

vilaskokate
Champ in-the-making
Champ in-the-making
hi,
   create one role called employee  & its code is
<permissionGroup name="Employee" allowFullContol="false" expose="true">
         <includePermissionGroup type="sys:base" permissionGroup="ReadProperties"/>
         <includePermissionGroup type="sys:base" permissionGroup="AddChildren"/>
      </permissionGroup>
put  this code in
<permissionSet type="cm:folder" expose="selected"> Add above code here</permissionSet>  within  processdefinition.xml file.
Processdefinition.xml file is situated at
   <install dir>:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\model

2. then login as a admin select space on which you want to define this role
3. Goto more action Select Manage space users
4. click Invite  then  search for user  and select user & select role  
5. click  Add to list
6. click finish
This role will give Add permision to user. User cant see the document uploaded.

fbehfar
Champ on-the-rise
Champ on-the-rise
Hi,
fx3000se, I have tried your solution, at first, it seemed that it works, but it doesn't. My post box have access for all and my incoming space has access only for the boss. because of this permissions, and based on the rule, which moves the doc to incoming space,it doesn't let other to upload a content in postbox. it raises an error which says, Access denied!

vilas kokate, about your solution! it doesn't work eitherSmiley Sad
I guess, the file name is permissionDefinitions.xml not processdefinition.xml, am I right?
in that file there were no attribute as
type="cm:folder"
  in any of
<permissionSet>
I have written that by myself and add that code between it, but all my other permissions disappeared, and it didn't do what I wanted. then I added it in
<permissionSet type="cm:cmobject" expose="selected">
and didn't do what I wanted either! its access is like contributor!
what should I do?
please help me in this matter! i need itSmiley Sad

thanks
FSB

fx3000se
Champ in-the-making
Champ in-the-making
I have an idea, don't know whether that works though.

Instead of using the "Move item to a specific space" action, use the "Execute script" action. Write your own Javascript which authenticates as a specific user (which has access) and then moves the content/document…

The big question that remains is: can a Javascript run as another user as the currently logged in user?

If we could let a rule be run as a different user the problem would be solved, too.

fx3000se
Champ in-the-making
Champ in-the-making

fbehfar
Champ on-the-rise
Champ on-the-rise
Hi,
thanks for your help!
but would you show me such a script? or a link, which helps me?