Daily Log for #alfresco IRC Channel

Alfresco discussion and collaboration. Stick around a few hours after asking a question.

Official support for Enterprise subscribers: support.alfresco.com.

Joining the Channel:

Join in the conversation by getting an IRC client and connecting to #alfresco at Freenode. Our you can use the IRC web chat.

More information about the channel is in the wiki.

Getting Help

More help is available in this list of resources.

Daily Log for #alfresco

2017-10-04 02:10:07 GMT <Schroeder> anyone know what Siobhan Redmond or Robbie Coltrane are up to these days?

2017-10-04 06:40:33 GMT <Rusin> hi all

2017-10-04 06:49:40 GMT <Rusin> I am using alfresco 5.2f and want to create custom role with different combination of permissions. I have followed many links

2017-10-04 06:50:18 GMT <Rusin> but could not get it working.. Kindly share me some link which would work for version 5.2f

2017-10-04 06:58:14 GMT <MorganP> Rusin: you need to define your own permissionDefinitions.xml or sitepermissionDefinitions.xml

2017-10-04 06:58:26 GMT <MorganP> sitePermissionDefinitions.xml*

2017-10-04 06:59:29 GMT <MorganP> You need to define permissions Set then Group and don't forget to expose them

2017-10-04 06:59:51 GMT <MorganP> Something like this should help: https://docs.alfresco.com/5.2/references/dev-extension-points-permissions.html

2017-10-04 06:59:52 GMT <alfbot> Title: Permissions / Roles | Alfresco Documentation (at docs.alfresco.com)

2017-10-04 07:01:04 GMT <MorganP> And for the display, you need a message properties file

2017-10-04 07:07:30 GMT <Rusin> @MorganP: I have tried this out, by creating amps but ended up with no result, no error.

2017-10-04 07:13:21 GMT <MorganP> Do you have a context file

2017-10-04 07:13:28 GMT <MorganP> to ask Alfresco to load your custom permissions file?

2017-10-04 07:13:43 GMT <MorganP> a bean with parent="permissionModelBootstrap"

2017-10-04 07:26:18 GMT <Rusin> @MorganP yes, i have context file, given in repo link

2017-10-04 07:26:41 GMT <Rusin> i have tried that one also

2017-10-04 07:27:10 GMT <Rusin> hi angelborroy

2017-10-04 07:29:23 GMT <MorganP> And you deployed your amp to the alfresco.war ?

2017-10-04 07:29:37 GMT <MorganP> Can you make sure the amp is in the war, remove the alfresco and share folders

2017-10-04 07:29:48 GMT <MorganP> restart alfresco and show us the log file

2017-10-04 07:29:51 GMT <Rusin> yes i did

2017-10-04 07:30:19 GMT <MorganP> Because what I mentioned above is all I ever did and it always worked

2017-10-04 07:30:22 GMT <Rusin> i placed repo amp in amps and share amp in amps_share

2017-10-04 07:30:32 GMT <MorganP> ok but did you deploy them?

2017-10-04 07:30:47 GMT <Rusin> and deleted alfresco,share folders

2017-10-04 07:31:09 GMT <Rusin> i deployed

2017-10-04 07:31:11 GMT <MorganP> Did you use the mmt jar to deploy the amps?

2017-10-04 07:31:43 GMT <MorganP> You can use the mmt jar to list the amps deployed in your war files

2017-10-04 07:32:06 GMT <Rusin> apply_amps

2017-10-04 07:32:40 GMT <Rusin> i checked amps deployed or not

2017-10-04 07:33:09 GMT <Rusin> those are deployed

2017-10-04 07:36:41 GMT <chandu> Hello All

2017-10-04 07:37:19 GMT <chandu> Is there any documentation for user quota to a particular folder?

2017-10-04 07:38:27 GMT <angelborroy> chandu this should still be working now https://github.com/keensoft/alfresco-myfiles-quota

2017-10-04 07:38:28 GMT <alfbot> Title: GitHub - keensoft/alfresco-myfiles-quota: Define quota policies on My Files folder for each user (at github.com)

2017-10-04 07:40:39 GMT <chandu> angelborroy: it's working for folder but i need to set quota to a user for a particular site or folder.

2017-10-04 07:40:52 GMT <angelborroy> chandu please, read what the addon provides

2017-10-04 07:40:59 GMT <angelborroy> it’s exactly what you are referring

2017-10-04 07:42:53 GMT <chandu> angelborroy, ok

2017-10-04 07:43:26 GMT <chandu> i tried for folder but not for user. I will try for users.

2017-10-04 07:43:29 GMT <chandu> thank you

2017-10-04 07:43:53 GMT <angelborroy> chandu with this addon you can set a quota for a user in a folder

2017-10-04 07:44:17 GMT <angelborroy> chandu for instance: “User admin has 10 GB in folder /repository/shared”

2017-10-04 07:44:29 GMT <angelborroy> chandu I guess this is what you were looking for, right?

2017-10-04 07:56:04 GMT <chandu> angelborroy, yes.if i set quota to a folder 10 mb. i need to set 5mb quota to a user to that particular folder.

2017-10-04 07:56:08 GMT <chandu> is it same?

2017-10-04 07:59:05 GMT <angelborroy> chandu https://www.youtube.com/watch?v=qz2LoVCU8Go

2017-10-04 07:59:20 GMT <angelborroy> minute 28:00

2017-10-04 09:56:46 GMT <rusin> can anyone share custom roles links for alfresco community 5.2f

2017-10-04 10:02:48 GMT <angelborroy> rusin this one= http://smasue.github.io/add-custom-role

2017-10-04 10:02:49 GMT <alfbot> Title: Add custom roles in Alfresco (at smasue.github.io)

2017-10-04 10:17:51 GMT <rusin> @angelborroy thanks, but i have tried that one also

2017-10-04 10:18:05 GMT <angelborroy> tried?

2017-10-04 10:18:10 GMT <rusin> ya

2017-10-04 10:18:11 GMT <angelborroy> what is the problem?

2017-10-04 10:18:12 GMT <angelborroy> it works

2017-10-04 10:18:46 GMT <rusin> no errors, and not effect in roles

2017-10-04 10:19:06 GMT <angelborroy> it has effect but you cannot assign it from Share web app

2017-10-04 10:19:16 GMT <angelborroy> you have to use the API in order to work with the new role

2017-10-04 10:19:21 GMT <angelborroy> this is the part missing in that tutorial

2017-10-04 10:20:15 GMT <rusin> how can i

2017-10-04 10:20:54 GMT <angelborroy> I’ve never required a custom role

2017-10-04 10:21:08 GMT <angelborroy> anyway, if you think that is required you can go ahead

2017-10-04 10:21:24 GMT <angelborroy> didn’t I passed you a simplification project for Share we interface?

2017-10-04 10:22:26 GMT <angelborroy> rusin anyway… try this: https://github.com/Alfresco/alfresco-sdk-samples/tree/alfresco-51/all-in-one/add-permission-repo

2017-10-04 10:22:27 GMT <alfbot> Title: alfresco-sdk-samples/all-in-one/add-permission-repo at alfresco-51 · Alfresco/alfresco-sdk-samples · GitHub (at github.com)

2017-10-04 10:22:43 GMT <angelborroy> rusin The Share part you are missing: https://github.com/Alfresco/alfresco-sdk-samples/tree/alfresco-51/all-in-one/add-permission-share

2017-10-04 10:22:44 GMT <alfbot> Title: alfresco-sdk-samples/all-in-one/add-permission-share at alfresco-51 · Alfresco/alfresco-sdk-samples · GitHub (at github.com)

2017-10-04 10:27:52 GMT <rusin> @angelborroy -- i have tried those amp's also

2017-10-04 10:28:13 GMT <rusin> no errors and no result

2017-10-04 10:28:29 GMT <angelborroy> rusin this is how far I can help you

2017-10-04 10:28:30 GMT <angelborroy> sorry

2017-10-04 10:29:37 GMT <rusin> @angelborroy ok thanks

2017-10-04 10:29:45 GMT <rusin> for your post

2017-10-04 10:30:22 GMT <rusin> i will try with another, i'm looking for links

2017-10-04 12:09:16 GMT <yreg> rusin, I am still not convinced, there must be something wrong with the deployment process you are doing, are you sure you successfully merged amps into your war ?

2017-10-04 12:11:52 GMT <MorganP> I told you this morning all the needed steps

2017-10-04 12:12:03 GMT <MorganP> like yreg I'm pretty sure there is something you did wrong

2017-10-04 12:12:14 GMT <rusin> yes yar

2017-10-04 12:12:15 GMT <MorganP> but we cannot know what without looking at your env

2017-10-04 12:13:21 GMT <rusin> @Yreg - i did, what is mentioned in links

2017-10-04 12:15:32 GMT <MorganP> Do you see your custom permission xml file under $TOMCAT_HOME/webapps/alfresco/?

2017-10-04 12:16:21 GMT <rusin> yes, i saw

2017-10-04 12:26:52 GMT <douglascrp> morning guys

2017-10-04 12:29:23 GMT <yreg> good afternoon douglas

2017-10-04 12:29:58 GMT <chandu> Hi MorganP, can please provide documentation if any, user document uploading quota into a particular folder within multiple folders.

2017-10-04 12:32:14 GMT <chandu> I have already done with following link https://github.com/keensoft/alfresco-myfiles-quota

2017-10-04 12:32:15 GMT <alfbot> Title: GitHub - keensoft/alfresco-myfiles-quota: Define quota policies on My Files folder for each user (at github.com)

End of Daily Log

The other logs are at http://esplins.org/hash_alfresco