James Falkner 15 Years Ago Definitely sounds like a great solution Ray. The only issue I see is migration, where someone had a user-specific permission assigned to an object. Is it possible to auto-migrate these? Or is it a necessary tradeoff? I guess a new role could be created for those outlying cases, and the user assigned to that role. But that may get expensive. Please sign in to reply. Reply as... Cancel Ray Augé James Falkner 15 Years Ago I'm planning to write a migration tool to go from old to new. But it'll basically do what you suggested, which is to take those special cases and handle them by defining a new Role, but as much as possible it will do reduction, to try and be smart about the assignment.This is FAR less expensive that the old way of having permissions per entity, per user. So, as of right now, it's a tradeoff... until this tool is complete. Please sign in to reply. Reply as... Cancel Tobias S. Käfer Ray Augé 15 Years Ago Hi Ray! First of all: I like the work of all of you guys at Liferay. Do you have any kind of release date in mind for that migration tool?Thanks and GreetsTobias Please sign in to reply. Reply as... Cancel Ray Augé Tobias S. Käfer 15 Years Ago Thanks Tobias,It's always nice to hear that people appreciate our work.As for the release of the migration tool, it's been a very busy summer and early fall, so I haven't had a chance to start on it yet. I would have to say POST Liferay 5.2, scheduled for end of November. Please sign in to reply. Reply as... Cancel Tobias S. Käfer Ray Augé 15 Years Ago That's good to know. Since we have some installations at our customers that need to be upgraded with that migration tool. So I'm waiting for it Please sign in to reply. Reply as... Cancel Josh Asbury Ray Augé 15 Years Ago Ray, I'm thinking about manually migrating. What kind of things do I need to consider?Thanks! Please sign in to reply. Reply as... Cancel Ram Yellapragada Ray Augé 15 Years Ago RayWhen is the migration tool is expected?Thanks Please sign in to reply. Reply as... Cancel Ray Augé Ram Yellapragada 15 Years Ago Currently, it's in our internal 5.3 road map for ~M1-M2. M2 is slated to be completed around End of August. So, that would be my best guess for worst case scenario. Please sign in to reply. Reply as... Cancel
Ray Augé James Falkner 15 Years Ago I'm planning to write a migration tool to go from old to new. But it'll basically do what you suggested, which is to take those special cases and handle them by defining a new Role, but as much as possible it will do reduction, to try and be smart about the assignment.This is FAR less expensive that the old way of having permissions per entity, per user. So, as of right now, it's a tradeoff... until this tool is complete. Please sign in to reply. Reply as... Cancel Tobias S. Käfer Ray Augé 15 Years Ago Hi Ray! First of all: I like the work of all of you guys at Liferay. Do you have any kind of release date in mind for that migration tool?Thanks and GreetsTobias Please sign in to reply. Reply as... Cancel Ray Augé Tobias S. Käfer 15 Years Ago Thanks Tobias,It's always nice to hear that people appreciate our work.As for the release of the migration tool, it's been a very busy summer and early fall, so I haven't had a chance to start on it yet. I would have to say POST Liferay 5.2, scheduled for end of November. Please sign in to reply. Reply as... Cancel Tobias S. Käfer Ray Augé 15 Years Ago That's good to know. Since we have some installations at our customers that need to be upgraded with that migration tool. So I'm waiting for it Please sign in to reply. Reply as... Cancel Josh Asbury Ray Augé 15 Years Ago Ray, I'm thinking about manually migrating. What kind of things do I need to consider?Thanks! Please sign in to reply. Reply as... Cancel Ram Yellapragada Ray Augé 15 Years Ago RayWhen is the migration tool is expected?Thanks Please sign in to reply. Reply as... Cancel Ray Augé Ram Yellapragada 15 Years Ago Currently, it's in our internal 5.3 road map for ~M1-M2. M2 is slated to be completed around End of August. So, that would be my best guess for worst case scenario. Please sign in to reply. Reply as... Cancel
Tobias S. Käfer Ray Augé 15 Years Ago Hi Ray! First of all: I like the work of all of you guys at Liferay. Do you have any kind of release date in mind for that migration tool?Thanks and GreetsTobias Please sign in to reply. Reply as... Cancel Ray Augé Tobias S. Käfer 15 Years Ago Thanks Tobias,It's always nice to hear that people appreciate our work.As for the release of the migration tool, it's been a very busy summer and early fall, so I haven't had a chance to start on it yet. I would have to say POST Liferay 5.2, scheduled for end of November. Please sign in to reply. Reply as... Cancel Tobias S. Käfer Ray Augé 15 Years Ago That's good to know. Since we have some installations at our customers that need to be upgraded with that migration tool. So I'm waiting for it Please sign in to reply. Reply as... Cancel Josh Asbury Ray Augé 15 Years Ago Ray, I'm thinking about manually migrating. What kind of things do I need to consider?Thanks! Please sign in to reply. Reply as... Cancel Ram Yellapragada Ray Augé 15 Years Ago RayWhen is the migration tool is expected?Thanks Please sign in to reply. Reply as... Cancel Ray Augé Ram Yellapragada 15 Years Ago Currently, it's in our internal 5.3 road map for ~M1-M2. M2 is slated to be completed around End of August. So, that would be my best guess for worst case scenario. Please sign in to reply. Reply as... Cancel
Ray Augé Tobias S. Käfer 15 Years Ago Thanks Tobias,It's always nice to hear that people appreciate our work.As for the release of the migration tool, it's been a very busy summer and early fall, so I haven't had a chance to start on it yet. I would have to say POST Liferay 5.2, scheduled for end of November. Please sign in to reply. Reply as... Cancel Tobias S. Käfer Ray Augé 15 Years Ago That's good to know. Since we have some installations at our customers that need to be upgraded with that migration tool. So I'm waiting for it Please sign in to reply. Reply as... Cancel Josh Asbury Ray Augé 15 Years Ago Ray, I'm thinking about manually migrating. What kind of things do I need to consider?Thanks! Please sign in to reply. Reply as... Cancel Ram Yellapragada Ray Augé 15 Years Ago RayWhen is the migration tool is expected?Thanks Please sign in to reply. Reply as... Cancel Ray Augé Ram Yellapragada 15 Years Ago Currently, it's in our internal 5.3 road map for ~M1-M2. M2 is slated to be completed around End of August. So, that would be my best guess for worst case scenario. Please sign in to reply. Reply as... Cancel
Tobias S. Käfer Ray Augé 15 Years Ago That's good to know. Since we have some installations at our customers that need to be upgraded with that migration tool. So I'm waiting for it Please sign in to reply. Reply as... Cancel
Josh Asbury Ray Augé 15 Years Ago Ray, I'm thinking about manually migrating. What kind of things do I need to consider?Thanks! Please sign in to reply. Reply as... Cancel
Ram Yellapragada Ray Augé 15 Years Ago RayWhen is the migration tool is expected?Thanks Please sign in to reply. Reply as... Cancel Ray Augé Ram Yellapragada 15 Years Ago Currently, it's in our internal 5.3 road map for ~M1-M2. M2 is slated to be completed around End of August. So, that would be my best guess for worst case scenario. Please sign in to reply. Reply as... Cancel
Ray Augé Ram Yellapragada 15 Years Ago Currently, it's in our internal 5.3 road map for ~M1-M2. M2 is slated to be completed around End of August. So, that would be my best guess for worst case scenario. Please sign in to reply. Reply as... Cancel
Alex Wallace 15 Years Ago Great job Ray!Wonder if you had a chance to look at the small bug I found with the AdvancedPermissionChecker: http://support.liferay.com/browse/LPS-49 ? Although i'm using algorithm #2 and not #5 since i'm upgrading.Thanks! Please sign in to reply. Reply as... Cancel Ray Augé Alex Wallace 15 Years Ago I did see and have applied your patch locally, but have been so busy that I haven't been able to analyze why this only seemed to have affected you... to me the bug should have had wider ranging impact across our user base. So I want to make sure there isn't a further underlying bug of some sort, in our upgrade logic, or elsewhere. Please sign in to reply. Reply as... Cancel Alex Wallace Ray Augé 15 Years Ago I really appreciate your response Ray!Like you, I'm not sure why exactly this seems to only have affected us... Logic kind of points to thinking that not many have upgraded from 4.3.1 and for some reason, either version or configuration, our portal relied only in the particular query that, when correcting the bug, is added to the rest of the queries, while for others, it was another of the 5 or so queries that allowed permissions to pass.Anyways, I feel more comfortable knowing that someone has seen the ticket.Thanks again! Please sign in to reply. Reply as... Cancel Alex Wallace Ray Augé 15 Years Ago Ray... I think i may have found why the bug affected me and not others following the same path. i don't want to polute your blog please see my last post on http://www.liferay.com/web/guest/community/forums/-/message_boards/message/1434969 . Please sign in to reply. Reply as... Cancel
Ray Augé Alex Wallace 15 Years Ago I did see and have applied your patch locally, but have been so busy that I haven't been able to analyze why this only seemed to have affected you... to me the bug should have had wider ranging impact across our user base. So I want to make sure there isn't a further underlying bug of some sort, in our upgrade logic, or elsewhere. Please sign in to reply. Reply as... Cancel Alex Wallace Ray Augé 15 Years Ago I really appreciate your response Ray!Like you, I'm not sure why exactly this seems to only have affected us... Logic kind of points to thinking that not many have upgraded from 4.3.1 and for some reason, either version or configuration, our portal relied only in the particular query that, when correcting the bug, is added to the rest of the queries, while for others, it was another of the 5 or so queries that allowed permissions to pass.Anyways, I feel more comfortable knowing that someone has seen the ticket.Thanks again! Please sign in to reply. Reply as... Cancel Alex Wallace Ray Augé 15 Years Ago Ray... I think i may have found why the bug affected me and not others following the same path. i don't want to polute your blog please see my last post on http://www.liferay.com/web/guest/community/forums/-/message_boards/message/1434969 . Please sign in to reply. Reply as... Cancel
Alex Wallace Ray Augé 15 Years Ago I really appreciate your response Ray!Like you, I'm not sure why exactly this seems to only have affected us... Logic kind of points to thinking that not many have upgraded from 4.3.1 and for some reason, either version or configuration, our portal relied only in the particular query that, when correcting the bug, is added to the rest of the queries, while for others, it was another of the 5 or so queries that allowed permissions to pass.Anyways, I feel more comfortable knowing that someone has seen the ticket.Thanks again! Please sign in to reply. Reply as... Cancel
Alex Wallace Ray Augé 15 Years Ago Ray... I think i may have found why the bug affected me and not others following the same path. i don't want to polute your blog please see my last post on http://www.liferay.com/web/guest/community/forums/-/message_boards/message/1434969 . Please sign in to reply. Reply as... Cancel
zhongshu liu 15 Years Ago Ray: Is there a detailed document about the new permission system , I have read the http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Using+Liferay%27s+Permission+System+from+a+portlet, but it is for Lifaray 4.4, so am i missing something?Thanks Please sign in to reply. Reply as... Cancel Ray Augé zhongshu liu 15 Years Ago There is no API change so you should be ok. Please sign in to reply. Reply as... Cancel Ahasan Habib Ray Augé 13 Years Ago Hi Ray,Firstly thanks lot and congrats for great job.would you please tell me how could I put restriction on the default permissions of a user. More clearly if I create a user it will automatically assigned role like user role and there are some pre assigned permission. I want to create a role with some permissions and want to assign this role to user and this user will get only these permission not any other permission even default permission.Is it possible if then how, please advice.Thanks Please sign in to reply. Reply as... Cancel Ray Augé Ahasan Habib 13 Years Ago - Edited Hmm, I understand what your are asking... I think!First off, you can change the default Roles assigned to new users from the Control Panel -> Portal -> Users -> Default User Associations -> Roles (one role "name" per line: only regular roles allowed).Second, users have no permissions by default other than via roles. And by default even if no Roles are assigned via "Default User Associations -> Roles" the user will have _at least_ "User" role (this is mandatory). So what we're talking about are the default permissions that User has.To be honest I don't think this role has any permissions by default. Rather, users inherit defaults of the "Guest" in most cases. So what you end up wanting to do is reduce the permissions of the "Guest" role.Next, users might be getting "personal pages" which may be where you are having issues. Here it the user's own community they (depending on configuration) potentially have all rights (and this is because of "ownership" and not due to permissions per se). To prevent users from having personal pages see the following:http://www.liferay.com/widget/community/wiki/-/wiki/Main/Portal+Properties+6.0.5#section-Portal+Properties+6.0.5-LayoutsLet me know if this helped at all (and I hope I didn't miss the point of your question). Please sign in to reply. Reply as... Cancel Ahasan Habib Ray Augé 13 Years Ago Hi Ray,Thanks lot for your reply. Yes you have understood my question. When i create a user, he can add blog entry in blog portlet. For example how could i restrict a user from adding new blog entry in blog portlet. One way may be restrict from front end but I will prefer to restrict from permission level by assigning role to that user.NB. Add blog entry is a default permission of User role.Please advice.Thanks. Please sign in to reply. Reply as... Cancel Ray Augé Ahasan Habib 13 Years Ago Which version are you using? You are correct that the user can created Blog entries in their own community. But ONLY in their own community (are you seeing something different?). With the currently released versions of Liferay, you can't get fine grained control of permissions for users in their own community. The next EE service packs will have a fix for this though. See http://issues.liferay.com/browse/LPS-15016 Please sign in to reply. Reply as... Cancel Ahasan Habib Ray Augé 13 Years Ago I am using liferay-6.0.5, yes you are right but currently I needed to find a way to control of permissions for users in their own community too. But could not. As in earlier version I can do it using resource and algorithm 1-4 but as u suggested in http://www.liferay.com/web/guest/community/forums/-/message_boards/message/2380562 So I don't want to go earlier method in question of efficiency. Currently is there any way or need to wait for the service packs?Another thing by debugging the code i found finally it returns true from the following code:value = (Boolean)_portalCache.get(key);from com.liferay.portal.security.permission.PermissionCacheUtil classwould you please tell me what it does. Again thanks and grateful to for giving your valuable time and helpful comments. waiting for your reply again.Thanks. Please sign in to reply. Reply as... Cancel Ray Augé Ahasan Habib 13 Years Ago In fact, if you are willing to patch your 6.0.5 CE version with the changes http://issues.liferay.com/browse/LPS-15016 you will have everything you want to control ALL permissions of users in their personal communities.In fact, there is a planned 6.0.6 CE release soon. And with some luck, maybe this patch will be included. Please sign in to reply. Reply as... Cancel Ahasan Habib Ray Augé 13 Years Ago Thanks. Any help or direction how to use the changes or how to patch in my 6.0.5 version? Please sign in to reply. Reply as... Cancel Ray Augé Ahasan Habib 13 Years Ago You'd have to get the source code from SVN or from Sourceforge, and manually apply the patches. If this proves overly complex, then perhaps waiting to see what happens with the next CE (which should be sometime in the near future) is your best bet. (Or get 6.0EE which has it fixed in the upcoming SP, if that's an option). Please sign in to reply. Reply as... Cancel Ray Augé Ray Augé 13 Years Ago I've asked the team working on 6.0.6CE to see if LPS-15016 could be included in the list of fixes! Let's see what comes of it. Please sign in to reply. Reply as... Cancel
Ray Augé zhongshu liu 15 Years Ago There is no API change so you should be ok. Please sign in to reply. Reply as... Cancel Ahasan Habib Ray Augé 13 Years Ago Hi Ray,Firstly thanks lot and congrats for great job.would you please tell me how could I put restriction on the default permissions of a user. More clearly if I create a user it will automatically assigned role like user role and there are some pre assigned permission. I want to create a role with some permissions and want to assign this role to user and this user will get only these permission not any other permission even default permission.Is it possible if then how, please advice.Thanks Please sign in to reply. Reply as... Cancel Ray Augé Ahasan Habib 13 Years Ago - Edited Hmm, I understand what your are asking... I think!First off, you can change the default Roles assigned to new users from the Control Panel -> Portal -> Users -> Default User Associations -> Roles (one role "name" per line: only regular roles allowed).Second, users have no permissions by default other than via roles. And by default even if no Roles are assigned via "Default User Associations -> Roles" the user will have _at least_ "User" role (this is mandatory). So what we're talking about are the default permissions that User has.To be honest I don't think this role has any permissions by default. Rather, users inherit defaults of the "Guest" in most cases. So what you end up wanting to do is reduce the permissions of the "Guest" role.Next, users might be getting "personal pages" which may be where you are having issues. Here it the user's own community they (depending on configuration) potentially have all rights (and this is because of "ownership" and not due to permissions per se). To prevent users from having personal pages see the following:http://www.liferay.com/widget/community/wiki/-/wiki/Main/Portal+Properties+6.0.5#section-Portal+Properties+6.0.5-LayoutsLet me know if this helped at all (and I hope I didn't miss the point of your question). Please sign in to reply. Reply as... Cancel Ahasan Habib Ray Augé 13 Years Ago Hi Ray,Thanks lot for your reply. Yes you have understood my question. When i create a user, he can add blog entry in blog portlet. For example how could i restrict a user from adding new blog entry in blog portlet. One way may be restrict from front end but I will prefer to restrict from permission level by assigning role to that user.NB. Add blog entry is a default permission of User role.Please advice.Thanks. Please sign in to reply. Reply as... Cancel Ray Augé Ahasan Habib 13 Years Ago Which version are you using? You are correct that the user can created Blog entries in their own community. But ONLY in their own community (are you seeing something different?). With the currently released versions of Liferay, you can't get fine grained control of permissions for users in their own community. The next EE service packs will have a fix for this though. See http://issues.liferay.com/browse/LPS-15016 Please sign in to reply. Reply as... Cancel Ahasan Habib Ray Augé 13 Years Ago I am using liferay-6.0.5, yes you are right but currently I needed to find a way to control of permissions for users in their own community too. But could not. As in earlier version I can do it using resource and algorithm 1-4 but as u suggested in http://www.liferay.com/web/guest/community/forums/-/message_boards/message/2380562 So I don't want to go earlier method in question of efficiency. Currently is there any way or need to wait for the service packs?Another thing by debugging the code i found finally it returns true from the following code:value = (Boolean)_portalCache.get(key);from com.liferay.portal.security.permission.PermissionCacheUtil classwould you please tell me what it does. Again thanks and grateful to for giving your valuable time and helpful comments. waiting for your reply again.Thanks. Please sign in to reply. Reply as... Cancel Ray Augé Ahasan Habib 13 Years Ago In fact, if you are willing to patch your 6.0.5 CE version with the changes http://issues.liferay.com/browse/LPS-15016 you will have everything you want to control ALL permissions of users in their personal communities.In fact, there is a planned 6.0.6 CE release soon. And with some luck, maybe this patch will be included. Please sign in to reply. Reply as... Cancel Ahasan Habib Ray Augé 13 Years Ago Thanks. Any help or direction how to use the changes or how to patch in my 6.0.5 version? Please sign in to reply. Reply as... Cancel Ray Augé Ahasan Habib 13 Years Ago You'd have to get the source code from SVN or from Sourceforge, and manually apply the patches. If this proves overly complex, then perhaps waiting to see what happens with the next CE (which should be sometime in the near future) is your best bet. (Or get 6.0EE which has it fixed in the upcoming SP, if that's an option). Please sign in to reply. Reply as... Cancel Ray Augé Ray Augé 13 Years Ago I've asked the team working on 6.0.6CE to see if LPS-15016 could be included in the list of fixes! Let's see what comes of it. Please sign in to reply. Reply as... Cancel
Ahasan Habib Ray Augé 13 Years Ago Hi Ray,Firstly thanks lot and congrats for great job.would you please tell me how could I put restriction on the default permissions of a user. More clearly if I create a user it will automatically assigned role like user role and there are some pre assigned permission. I want to create a role with some permissions and want to assign this role to user and this user will get only these permission not any other permission even default permission.Is it possible if then how, please advice.Thanks Please sign in to reply. Reply as... Cancel Ray Augé Ahasan Habib 13 Years Ago - Edited Hmm, I understand what your are asking... I think!First off, you can change the default Roles assigned to new users from the Control Panel -> Portal -> Users -> Default User Associations -> Roles (one role "name" per line: only regular roles allowed).Second, users have no permissions by default other than via roles. And by default even if no Roles are assigned via "Default User Associations -> Roles" the user will have _at least_ "User" role (this is mandatory). So what we're talking about are the default permissions that User has.To be honest I don't think this role has any permissions by default. Rather, users inherit defaults of the "Guest" in most cases. So what you end up wanting to do is reduce the permissions of the "Guest" role.Next, users might be getting "personal pages" which may be where you are having issues. Here it the user's own community they (depending on configuration) potentially have all rights (and this is because of "ownership" and not due to permissions per se). To prevent users from having personal pages see the following:http://www.liferay.com/widget/community/wiki/-/wiki/Main/Portal+Properties+6.0.5#section-Portal+Properties+6.0.5-LayoutsLet me know if this helped at all (and I hope I didn't miss the point of your question). Please sign in to reply. Reply as... Cancel Ahasan Habib Ray Augé 13 Years Ago Hi Ray,Thanks lot for your reply. Yes you have understood my question. When i create a user, he can add blog entry in blog portlet. For example how could i restrict a user from adding new blog entry in blog portlet. One way may be restrict from front end but I will prefer to restrict from permission level by assigning role to that user.NB. Add blog entry is a default permission of User role.Please advice.Thanks. Please sign in to reply. Reply as... Cancel Ray Augé Ahasan Habib 13 Years Ago Which version are you using? You are correct that the user can created Blog entries in their own community. But ONLY in their own community (are you seeing something different?). With the currently released versions of Liferay, you can't get fine grained control of permissions for users in their own community. The next EE service packs will have a fix for this though. See http://issues.liferay.com/browse/LPS-15016 Please sign in to reply. Reply as... Cancel Ahasan Habib Ray Augé 13 Years Ago I am using liferay-6.0.5, yes you are right but currently I needed to find a way to control of permissions for users in their own community too. But could not. As in earlier version I can do it using resource and algorithm 1-4 but as u suggested in http://www.liferay.com/web/guest/community/forums/-/message_boards/message/2380562 So I don't want to go earlier method in question of efficiency. Currently is there any way or need to wait for the service packs?Another thing by debugging the code i found finally it returns true from the following code:value = (Boolean)_portalCache.get(key);from com.liferay.portal.security.permission.PermissionCacheUtil classwould you please tell me what it does. Again thanks and grateful to for giving your valuable time and helpful comments. waiting for your reply again.Thanks. Please sign in to reply. Reply as... Cancel Ray Augé Ahasan Habib 13 Years Ago In fact, if you are willing to patch your 6.0.5 CE version with the changes http://issues.liferay.com/browse/LPS-15016 you will have everything you want to control ALL permissions of users in their personal communities.In fact, there is a planned 6.0.6 CE release soon. And with some luck, maybe this patch will be included. Please sign in to reply. Reply as... Cancel Ahasan Habib Ray Augé 13 Years Ago Thanks. Any help or direction how to use the changes or how to patch in my 6.0.5 version? Please sign in to reply. Reply as... Cancel Ray Augé Ahasan Habib 13 Years Ago You'd have to get the source code from SVN or from Sourceforge, and manually apply the patches. If this proves overly complex, then perhaps waiting to see what happens with the next CE (which should be sometime in the near future) is your best bet. (Or get 6.0EE which has it fixed in the upcoming SP, if that's an option). Please sign in to reply. Reply as... Cancel Ray Augé Ray Augé 13 Years Ago I've asked the team working on 6.0.6CE to see if LPS-15016 could be included in the list of fixes! Let's see what comes of it. Please sign in to reply. Reply as... Cancel
Ray Augé Ahasan Habib 13 Years Ago - Edited Hmm, I understand what your are asking... I think!First off, you can change the default Roles assigned to new users from the Control Panel -> Portal -> Users -> Default User Associations -> Roles (one role "name" per line: only regular roles allowed).Second, users have no permissions by default other than via roles. And by default even if no Roles are assigned via "Default User Associations -> Roles" the user will have _at least_ "User" role (this is mandatory). So what we're talking about are the default permissions that User has.To be honest I don't think this role has any permissions by default. Rather, users inherit defaults of the "Guest" in most cases. So what you end up wanting to do is reduce the permissions of the "Guest" role.Next, users might be getting "personal pages" which may be where you are having issues. Here it the user's own community they (depending on configuration) potentially have all rights (and this is because of "ownership" and not due to permissions per se). To prevent users from having personal pages see the following:http://www.liferay.com/widget/community/wiki/-/wiki/Main/Portal+Properties+6.0.5#section-Portal+Properties+6.0.5-LayoutsLet me know if this helped at all (and I hope I didn't miss the point of your question). Please sign in to reply. Reply as... Cancel Ahasan Habib Ray Augé 13 Years Ago Hi Ray,Thanks lot for your reply. Yes you have understood my question. When i create a user, he can add blog entry in blog portlet. For example how could i restrict a user from adding new blog entry in blog portlet. One way may be restrict from front end but I will prefer to restrict from permission level by assigning role to that user.NB. Add blog entry is a default permission of User role.Please advice.Thanks. Please sign in to reply. Reply as... Cancel Ray Augé Ahasan Habib 13 Years Ago Which version are you using? You are correct that the user can created Blog entries in their own community. But ONLY in their own community (are you seeing something different?). With the currently released versions of Liferay, you can't get fine grained control of permissions for users in their own community. The next EE service packs will have a fix for this though. See http://issues.liferay.com/browse/LPS-15016 Please sign in to reply. Reply as... Cancel Ahasan Habib Ray Augé 13 Years Ago I am using liferay-6.0.5, yes you are right but currently I needed to find a way to control of permissions for users in their own community too. But could not. As in earlier version I can do it using resource and algorithm 1-4 but as u suggested in http://www.liferay.com/web/guest/community/forums/-/message_boards/message/2380562 So I don't want to go earlier method in question of efficiency. Currently is there any way or need to wait for the service packs?Another thing by debugging the code i found finally it returns true from the following code:value = (Boolean)_portalCache.get(key);from com.liferay.portal.security.permission.PermissionCacheUtil classwould you please tell me what it does. Again thanks and grateful to for giving your valuable time and helpful comments. waiting for your reply again.Thanks. Please sign in to reply. Reply as... Cancel Ray Augé Ahasan Habib 13 Years Ago In fact, if you are willing to patch your 6.0.5 CE version with the changes http://issues.liferay.com/browse/LPS-15016 you will have everything you want to control ALL permissions of users in their personal communities.In fact, there is a planned 6.0.6 CE release soon. And with some luck, maybe this patch will be included. Please sign in to reply. Reply as... Cancel Ahasan Habib Ray Augé 13 Years Ago Thanks. Any help or direction how to use the changes or how to patch in my 6.0.5 version? Please sign in to reply. Reply as... Cancel Ray Augé Ahasan Habib 13 Years Ago You'd have to get the source code from SVN or from Sourceforge, and manually apply the patches. If this proves overly complex, then perhaps waiting to see what happens with the next CE (which should be sometime in the near future) is your best bet. (Or get 6.0EE which has it fixed in the upcoming SP, if that's an option). Please sign in to reply. Reply as... Cancel Ray Augé Ray Augé 13 Years Ago I've asked the team working on 6.0.6CE to see if LPS-15016 could be included in the list of fixes! Let's see what comes of it. Please sign in to reply. Reply as... Cancel
Ahasan Habib Ray Augé 13 Years Ago Hi Ray,Thanks lot for your reply. Yes you have understood my question. When i create a user, he can add blog entry in blog portlet. For example how could i restrict a user from adding new blog entry in blog portlet. One way may be restrict from front end but I will prefer to restrict from permission level by assigning role to that user.NB. Add blog entry is a default permission of User role.Please advice.Thanks. Please sign in to reply. Reply as... Cancel Ray Augé Ahasan Habib 13 Years Ago Which version are you using? You are correct that the user can created Blog entries in their own community. But ONLY in their own community (are you seeing something different?). With the currently released versions of Liferay, you can't get fine grained control of permissions for users in their own community. The next EE service packs will have a fix for this though. See http://issues.liferay.com/browse/LPS-15016 Please sign in to reply. Reply as... Cancel Ahasan Habib Ray Augé 13 Years Ago I am using liferay-6.0.5, yes you are right but currently I needed to find a way to control of permissions for users in their own community too. But could not. As in earlier version I can do it using resource and algorithm 1-4 but as u suggested in http://www.liferay.com/web/guest/community/forums/-/message_boards/message/2380562 So I don't want to go earlier method in question of efficiency. Currently is there any way or need to wait for the service packs?Another thing by debugging the code i found finally it returns true from the following code:value = (Boolean)_portalCache.get(key);from com.liferay.portal.security.permission.PermissionCacheUtil classwould you please tell me what it does. Again thanks and grateful to for giving your valuable time and helpful comments. waiting for your reply again.Thanks. Please sign in to reply. Reply as... Cancel Ray Augé Ahasan Habib 13 Years Ago In fact, if you are willing to patch your 6.0.5 CE version with the changes http://issues.liferay.com/browse/LPS-15016 you will have everything you want to control ALL permissions of users in their personal communities.In fact, there is a planned 6.0.6 CE release soon. And with some luck, maybe this patch will be included. Please sign in to reply. Reply as... Cancel Ahasan Habib Ray Augé 13 Years Ago Thanks. Any help or direction how to use the changes or how to patch in my 6.0.5 version? Please sign in to reply. Reply as... Cancel Ray Augé Ahasan Habib 13 Years Ago You'd have to get the source code from SVN or from Sourceforge, and manually apply the patches. If this proves overly complex, then perhaps waiting to see what happens with the next CE (which should be sometime in the near future) is your best bet. (Or get 6.0EE which has it fixed in the upcoming SP, if that's an option). Please sign in to reply. Reply as... Cancel Ray Augé Ray Augé 13 Years Ago I've asked the team working on 6.0.6CE to see if LPS-15016 could be included in the list of fixes! Let's see what comes of it. Please sign in to reply. Reply as... Cancel
Ray Augé Ahasan Habib 13 Years Ago Which version are you using? You are correct that the user can created Blog entries in their own community. But ONLY in their own community (are you seeing something different?). With the currently released versions of Liferay, you can't get fine grained control of permissions for users in their own community. The next EE service packs will have a fix for this though. See http://issues.liferay.com/browse/LPS-15016 Please sign in to reply. Reply as... Cancel Ahasan Habib Ray Augé 13 Years Ago I am using liferay-6.0.5, yes you are right but currently I needed to find a way to control of permissions for users in their own community too. But could not. As in earlier version I can do it using resource and algorithm 1-4 but as u suggested in http://www.liferay.com/web/guest/community/forums/-/message_boards/message/2380562 So I don't want to go earlier method in question of efficiency. Currently is there any way or need to wait for the service packs?Another thing by debugging the code i found finally it returns true from the following code:value = (Boolean)_portalCache.get(key);from com.liferay.portal.security.permission.PermissionCacheUtil classwould you please tell me what it does. Again thanks and grateful to for giving your valuable time and helpful comments. waiting for your reply again.Thanks. Please sign in to reply. Reply as... Cancel Ray Augé Ahasan Habib 13 Years Ago In fact, if you are willing to patch your 6.0.5 CE version with the changes http://issues.liferay.com/browse/LPS-15016 you will have everything you want to control ALL permissions of users in their personal communities.In fact, there is a planned 6.0.6 CE release soon. And with some luck, maybe this patch will be included. Please sign in to reply. Reply as... Cancel Ahasan Habib Ray Augé 13 Years Ago Thanks. Any help or direction how to use the changes or how to patch in my 6.0.5 version? Please sign in to reply. Reply as... Cancel Ray Augé Ahasan Habib 13 Years Ago You'd have to get the source code from SVN or from Sourceforge, and manually apply the patches. If this proves overly complex, then perhaps waiting to see what happens with the next CE (which should be sometime in the near future) is your best bet. (Or get 6.0EE which has it fixed in the upcoming SP, if that's an option). Please sign in to reply. Reply as... Cancel Ray Augé Ray Augé 13 Years Ago I've asked the team working on 6.0.6CE to see if LPS-15016 could be included in the list of fixes! Let's see what comes of it. Please sign in to reply. Reply as... Cancel
Ahasan Habib Ray Augé 13 Years Ago I am using liferay-6.0.5, yes you are right but currently I needed to find a way to control of permissions for users in their own community too. But could not. As in earlier version I can do it using resource and algorithm 1-4 but as u suggested in http://www.liferay.com/web/guest/community/forums/-/message_boards/message/2380562 So I don't want to go earlier method in question of efficiency. Currently is there any way or need to wait for the service packs?Another thing by debugging the code i found finally it returns true from the following code:value = (Boolean)_portalCache.get(key);from com.liferay.portal.security.permission.PermissionCacheUtil classwould you please tell me what it does. Again thanks and grateful to for giving your valuable time and helpful comments. waiting for your reply again.Thanks. Please sign in to reply. Reply as... Cancel Ray Augé Ahasan Habib 13 Years Ago In fact, if you are willing to patch your 6.0.5 CE version with the changes http://issues.liferay.com/browse/LPS-15016 you will have everything you want to control ALL permissions of users in their personal communities.In fact, there is a planned 6.0.6 CE release soon. And with some luck, maybe this patch will be included. Please sign in to reply. Reply as... Cancel Ahasan Habib Ray Augé 13 Years Ago Thanks. Any help or direction how to use the changes or how to patch in my 6.0.5 version? Please sign in to reply. Reply as... Cancel Ray Augé Ahasan Habib 13 Years Ago You'd have to get the source code from SVN or from Sourceforge, and manually apply the patches. If this proves overly complex, then perhaps waiting to see what happens with the next CE (which should be sometime in the near future) is your best bet. (Or get 6.0EE which has it fixed in the upcoming SP, if that's an option). Please sign in to reply. Reply as... Cancel Ray Augé Ray Augé 13 Years Ago I've asked the team working on 6.0.6CE to see if LPS-15016 could be included in the list of fixes! Let's see what comes of it. Please sign in to reply. Reply as... Cancel
Ray Augé Ahasan Habib 13 Years Ago In fact, if you are willing to patch your 6.0.5 CE version with the changes http://issues.liferay.com/browse/LPS-15016 you will have everything you want to control ALL permissions of users in their personal communities.In fact, there is a planned 6.0.6 CE release soon. And with some luck, maybe this patch will be included. Please sign in to reply. Reply as... Cancel Ahasan Habib Ray Augé 13 Years Ago Thanks. Any help or direction how to use the changes or how to patch in my 6.0.5 version? Please sign in to reply. Reply as... Cancel Ray Augé Ahasan Habib 13 Years Ago You'd have to get the source code from SVN or from Sourceforge, and manually apply the patches. If this proves overly complex, then perhaps waiting to see what happens with the next CE (which should be sometime in the near future) is your best bet. (Or get 6.0EE which has it fixed in the upcoming SP, if that's an option). Please sign in to reply. Reply as... Cancel Ray Augé Ray Augé 13 Years Ago I've asked the team working on 6.0.6CE to see if LPS-15016 could be included in the list of fixes! Let's see what comes of it. Please sign in to reply. Reply as... Cancel
Ahasan Habib Ray Augé 13 Years Ago Thanks. Any help or direction how to use the changes or how to patch in my 6.0.5 version? Please sign in to reply. Reply as... Cancel Ray Augé Ahasan Habib 13 Years Ago You'd have to get the source code from SVN or from Sourceforge, and manually apply the patches. If this proves overly complex, then perhaps waiting to see what happens with the next CE (which should be sometime in the near future) is your best bet. (Or get 6.0EE which has it fixed in the upcoming SP, if that's an option). Please sign in to reply. Reply as... Cancel Ray Augé Ray Augé 13 Years Ago I've asked the team working on 6.0.6CE to see if LPS-15016 could be included in the list of fixes! Let's see what comes of it. Please sign in to reply. Reply as... Cancel
Ray Augé Ahasan Habib 13 Years Ago You'd have to get the source code from SVN or from Sourceforge, and manually apply the patches. If this proves overly complex, then perhaps waiting to see what happens with the next CE (which should be sometime in the near future) is your best bet. (Or get 6.0EE which has it fixed in the upcoming SP, if that's an option). Please sign in to reply. Reply as... Cancel Ray Augé Ray Augé 13 Years Ago I've asked the team working on 6.0.6CE to see if LPS-15016 could be included in the list of fixes! Let's see what comes of it. Please sign in to reply. Reply as... Cancel
Ray Augé Ray Augé 13 Years Ago I've asked the team working on 6.0.6CE to see if LPS-15016 could be included in the list of fixes! Let's see what comes of it. Please sign in to reply. Reply as... Cancel
ilke Muhtaroglu 12 Years Ago The document Library in 6.05 and 6.06 has performace problem due to inlinePermission check in Mysql, is there any solution to this ? Honestly ?We have a page show in 25 seconds ?ilke Please sign in to reply. Reply as... Cancel