tag:blogger.com,1999:blog-35738028.post5486009727358921370..comments2011-08-27T12:43:14.525+02:00Comments on Tonny Madsen: Using activities for user managementAnonymoushttp://www.blogger.com/profile/16918201005715446635noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-35738028.post-56680188709781864182010-09-25T20:05:01.767+02:002010-09-25T20:05:01.767+02:00Excellent Post !! Thank you very much ! Unfortunat...Excellent Post !! Thank you very much ! Unfortunately not much resources on net on activities part of RCP. Thanks again !Maheshhttps://www.blogger.com/profile/13400553704846974367noreply@blogger.comtag:blogger.com,1999:blog-35738028.post-88701756405291880042010-09-13T08:58:45.654+02:002010-09-13T08:58:45.654+02:00As noted elsewhere, the show view and show perspec...As noted elsewhere, the show view and show perspective commands both allows you to circumvent to activities. The only known solution is to implement you own versions of these. Not very difficult, but a bit annoying.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-35738028.post-86986126653546495002010-09-09T15:00:37.567+02:002010-09-09T15:00:37.567+02:00Hi Thanks's for the article, I used this conce...Hi Thanks's for the article, I used this concept for my application. I used the activities to restrict the acces to certain perspectives. When I open the show perspective Dialog all the Perspectives that i protected were not visible. The problem is that the show Perspective Dialog has a Checkbox 'show all'. When I select this my hidden perspectives appear. When I select one og the 'hidden' Pespectives I get a dialog that allows me to turn on all the activities that i want.<br />Is there an elegant way to prevent eclipse from doing that. My current solution is, that I override the Handler for show perspective.Unknownhttps://www.blogger.com/profile/06895456684956203732noreply@blogger.comtag:blogger.com,1999:blog-35738028.post-39303896851882494882008-12-17T12:38:00.000+01:002008-12-17T12:38:00.000+01:00Hmm, I seem to have the same problem... I'll look ...Hmm, I seem to have the same problem... I'll look into the alternative with the new security framework some time soon...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-35738028.post-38532114359915049182008-12-11T08:32:00.000+01:002008-12-11T08:32:00.000+01:00Currently I use activities to hide elements from t...Currently I use activities to hide elements from the user. One problem I encountered are e.g. the perspective extensions. I couldn't hide view shortcuts?Markhttps://www.blogger.com/profile/15388467028900281733noreply@blogger.comtag:blogger.com,1999:blog-35738028.post-32633636581338279992008-11-14T17:42:00.000+01:002008-11-14T17:42:00.000+01:00Hi Tonny, thanxs for that good article.I have a pr...Hi Tonny, <BR/><BR/>thanxs for that good article.<BR/><BR/>I have a problem with enabling / disabling menu bound commands - the activity says it is enabled , a second disabled - but both produce a reaction ...<BR/><BR/>I fired fireSourceChanged(16, stateMap), but with no reaction...<BR/><BR/>Did i forgot something ?<BR/><BR/>NJUnknownhttps://www.blogger.com/profile/05822872675617728231noreply@blogger.comtag:blogger.com,1999:blog-35738028.post-80341557488015284832008-08-19T19:23:00.000+02:002008-08-19T19:23:00.000+02:00Hi Tonny,Thanks for the good article.I am using th...Hi Tonny,<BR/><BR/>Thanks for the good article.<BR/><BR/>I am using the activities mechanism, but there is a point killing me right now.<BR/><BR/>How to filter key binding shortcuts?<BR/><BR/>It is ok that my buttons disappear but the shortcuts assigned are still working.<BR/><BR/>Thanks for any ideias.<BR/><BR/>MarceloMaralchttps://www.blogger.com/profile/17602823170899002109noreply@blogger.comtag:blogger.com,1999:blog-35738028.post-37050870937886554022007-09-08T16:45:00.000+02:002007-09-08T16:45:00.000+02:00I have just found the following description from I...I have just found the following description from IBM on how to extend my method: <A HREF="http://www.ibm.com/developerworks/library/os-ecl-rcpsec/index.html?ca=drs-" REL="nofollow">Creating a declarative security model for RCP applications</A>.Anonymoushttps://www.blogger.com/profile/16918201005715446635noreply@blogger.comtag:blogger.com,1999:blog-35738028.post-26533931413644551572007-08-01T21:28:00.000+02:002007-08-01T21:28:00.000+02:00Patrick,You are of cause correct in your comments....Patrick,<BR/><BR/>You are of cause correct in your comments. But most of the RCP applications, I have been working on has had proper back-end authentication and authorization via ESB, J2EE or whatever... The primary problem has just been to mirrow the allowed functionality in the client interface. And for this activities has been fine (as long as you don't use the open perspective action :-()Anonymoushttps://www.blogger.com/profile/16918201005715446635noreply@blogger.comtag:blogger.com,1999:blog-35738028.post-91173111478124161672007-07-31T02:15:00.000+02:002007-07-31T02:15:00.000+02:00It's kind of easy to circumvent activities hiding ...It's kind of easy to circumvent activities hiding UI component. All you have to do is add a plugin which defines the Capabilities preference page (as per your example), and then you are only one click away from enabling all activities/categories.<BR/><BR/>Activities are still a very nice feature to hide UI components to which the current user role shouldn't have access, it doesn't stop you from implementing proper security on the remote server.<BR/><BR/>When the remote server implements security, even if the hidden UI is displayed, then any call to unauthorized action fail and security is preserved.Patrick Roumanoffhttps://www.blogger.com/profile/07661509962667491051noreply@blogger.comtag:blogger.com,1999:blog-35738028.post-7723353526792882352007-06-22T19:21:00.000+02:002007-06-22T19:21:00.000+02:00I understand that the functionality is still prese...I understand that the functionality is still present in the application - after all the class files are removed, but as far as I can see the contributions are effectively removed from plugin.xml, so the functionality will be unavailable in the workbench.<BR/><BR/>Also all active perspectives, views, editors and wizards will still be active.. This is what the ActivityManagerListener can be used for.<BR/><BR/>Can you describe how to get access to circumlate the activities stuff?Anonymoushttps://www.blogger.com/profile/16918201005715446635noreply@blogger.comtag:blogger.com,1999:blog-35738028.post-66418877652015077862007-06-22T16:32:00.000+02:002007-06-22T16:32:00.000+02:00I think it's only fair to mention that activities ...I think it's only fair to mention that activities don't actually restrict anything from running - the disabled functionality is still there and if your user is clever enough (or simply one of those users who always finds your bugs) it can be made visible.pookzillahttps://www.blogger.com/profile/01892293270290422122noreply@blogger.com