cancel
Showing results for 
Search instead for 
Did you mean: 

Password Expiry & Restricting users to access documents uploaded by him/her.

Sai-1411
Confirmed Champ
Confirmed Champ

Hi,

I have two issues 

1. Password Expiration - the password should expire according to the day limit(90 days) for all users.

2. Restricting users to access documents of his/her previous id which was earlier uploaded by him/her - means the files uploaded by "User A" should only be visible to "User A". So if "User B" also has uploaded some files but those files should not be visible to "User A". 

In simple, if any specific user uploads the documents it shouldn't be visible to any of the other users.

Please suggest us to resolve this issues......

Thanks & Regards

Sai Kumar S

4 REPLIES 4

sanjaybandhniya
Elite Collaborator
Elite Collaborator

Password Expiration : For this you need to track last password change date. You need to create scheduler that will check last password change date and if it >=90 then do some action base on your requirements.

Restricting users to access documents of his/her previous id which was earlier uploaded by him/her : For this, every upload , you need to set inherit permission false for uploaded document and provide permission to uploaded user only.(need to write logic)

Hi Sanjay,

Thank you for replying...

I have done some changes in alfresco-global.properties file as mentioned below.

authentication.credentials.expiry.default.enabled=true
authentication.credentials.expiry.default.days=2
authentication.credentials.expiry.default.warn.days=1

It is not working, so can you guide us for any modification needed.

Thanks & Regards

Sai Kumar S

Hi Sanjay,

The actual issue for Restricting users to access documents uploaded by him/her is that 

For Eg:- User A is a part of Site A, User A has uploaded some files in Site A,  so when User A is transffered to Site B, so in this case when User A  search for files in present site(Site B) he should only get the result of Site B, but which he uploaded in Site A is also visible.

In whichever site the User is present only that site documents/files should be displayed on search.

So please tell us how to ressolve this issue.

Thanks & Regards

    Sai Kumar S

As far as user have permission on document, user is able to search(you need to remove permission)

if user is search from site then user will document from that site only.