Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

Setting privilege levels

This section describes how to set privilege levels. Your selections determine whether the classes in your module or applet are allowed to use certain Brew MP API functions.

There are two ways to set privileges in your application using Resource Manager.

  • In BREW (2.x, 3.x), privileges are specified for the entire module. In Resource Manager the option to set privileges for the module is displayed in the module tab, as shown in the following image.

    Privileges selected here are translated in the PrivLevel primitive in the CIF, which designates privileges applied for the entire module.

  • In Brew MP, privileges are specified for the individual applets. In Resource Manager the option to set privileges for Brew MP is displayed in the Applets tab, as shown in the following image.

Note: Extensions always inherit the privilege level of the application by which they are being used. Extensions by themselves have no privilege levels. Therefore, when creating a MIF that has an extension, it is not necessary to associate any privilege levels with that extension. The extension always runs with the privilege level of the application that is using it.