[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[equinox-dev] Restrict access to view depending on a user profile
- From: "zouaoui anis" <anis.zouaoui@xxxxxxxxx>
- Date: Mon, 25 Dec 2006 23:27:38 +0100
- Delivered-to: firstname.lastname@example.org
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=bm1WSBRhdfG6ONq3r5XNKWgz9V2R3cEKJwGJkNyG/h8rEJvkzoMxX3vrB9jbZ3wkJCbhSuvaJRYgBj/wGd/rEkznrAZR4/7YXnGV/Tlim2UZ0PnhUAsmgAwjKjTGCRGRX2DUlwdr0CQGFrUNBOQN8iFAbA6IYIUL/mNz5M6K7Y0=
I'm trying to restrict access to some views on my RCP application
depending on user profile, users can have access to perspectives but
not to one view of the perspective.
I've tried with the ExtensionRegistry.removeExtension (...) method but
I found that with non master token I can just add/remove "non
persisted" extension from the ExtensionRegistry.
I sow that Eclipse 3.3 propose XSLT transformation on the OSGI Level
to filter the plugin.xml file, but it still in the incubator stage,
Is there any other "Eclipse compatible" way to restrict access to my views ?