Well, I don't think there is an easy answer to your question. You could require that all your admin bundles are signed by a known certificate and then give permissions to that one. Or do the same based on location.
If that is not an option then you probably will have to create an admin command that allows the admin to give allpermission to certain bundles. Could be as simple as just allPermission <bundleId> or something. Anyways, I don't think that there is a standard solution in this case. regards, Karl On Mon, Mar 23, 2009 at 12:00 PM, Reto Bachmann-Gmür <[email protected]> wrote: > Hello > > In our applications (some) users can install their own bundles through a > service (UserBundleInstaller) that takes care of assigning limited > permissions to these bundles (i.e. the permissions of the installing > user), the user themselves can not directly install bundles but only > through tis application (which does the privileged operations). > > The default bundles of the application run with all permissions. > > The problem is that newly installed bundles installed by an admin on the > felix console (manually or using obr) do not have any permssion > assigned. Is there a way to grant those bundles permissions on > installation while ensuring that bundles installed via > UserBundleInstaller have limited permissions? > > Cheers, > Reto > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Karl Pauls [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

