Community
Participate
Working Groups
Permission classes are expected to fulfill the following name pattern "*.security.*Permission*". Further, permissions must be placed in a package starting with the hosting plug-in's symbolic name. While the latter is a good convention also used by many Eclipse projects, the former is too restrictive. For example it does not allow putting all aspects of a particular entity into the same package (e.g. service interfaces, FormDatas, LookupCalls and Permissions). Both rules are implemented in org.eclipse.scout.rt.server.services.common.security.PermissionService. Proposal: extract the class name check into a separate method so that implementers are free to extend the service and to override its default behavior.
Fixed as proposed: extracted check into method org.eclipse.scout.rt.server.services.common.security.PermissionService.isCandidate(String).
shipped with 3.7.1