Class RecalculatePermissions


  • public class RecalculatePermissions
    extends WeldBaseTest
    Test case for horizontal inheritance This test case is intended to simulate the "Recalculate Permissions" process We remove an inherited access on purpose (this can not be done from the UI), this way we can simulate the process of adding a permission without using DAL, like for example, when using the "Grant Access" process which uses xsql to insert data.
    • Constructor Detail

      • RecalculatePermissions

        public RecalculatePermissions()
    • Method Detail

      • recalculatePermissionsForRole

        public void recalculatePermissionsForRole()
        Test case to simulate the "Recalculate Permissions" process, launched for a not template role
      • recalculatePermissionsForTemplateRole

        public void recalculatePermissionsForTemplateRole()
        Test case to simulate the "Recalculate Permissions" process, launched for a template role