openlmis-permissions

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
OLMIS-7397: Revert changes made in tests
OLMIS-7397: Revert changes made in tests
OLMIS-7397: Revert changes made in tests

This reverts commit ae6e4e773ebb2e8d22cf27af966e3e707072de1b.

    • -20
    • +20
    ./current-user-roles.service.spec.js
  1. … 104 more files in changeset.
OLMIS-7314: Fix tests after karma upgrade
OLMIS-7314: Fix tests after karma upgrade
OLMIS-7314: Fix tests after karma upgrade

    • -20
    • +20
    ./current-user-roles.service.spec.js
  1. … 103 more files in changeset.
OLMIS-7217: Removed permissions from local storage only if savedUsedId is defined
OLMIS-7217: Removed permissions from local storage only if savedUsedId is defined
OLMIS-7217: Removed permissions from local storage only if savedUsedId is defined

  1. … 1 more file in changeset.
OLMIS-7204: Made Stock on Hand screen available offline
OLMIS-7204: Made Stock on Hand screen available offline
OLMIS-7204: Added the error message when no facilities are available in offline mode

  1. … 4 more files in changeset.
OLMIS-6696: Added caching a promise when calling for permission strings.
OLMIS-6696: Added caching a promise when calling for permission strings.
OLMIS-6696: Set dataPromise as null after clearing cached permissions and moved return statement.

Please take a look now.

Please take a look now.

OLMIS-6696: Refactored a unit test.

Please change this string concatenation inside toHaveBeenCalledWith function. Perhaps it would be better to save permissions in a variable after calling this.permissionService.load and then use thi...

Please change this string concatenation inside toHaveBeenCalledWith function. Perhaps it would be better to save permissions in a variable after calling this.permissionService.load and then use this variable in 'toHaveBeenCalledWith' and also check if this variable has correct data (just like it is done in other tests here).

OLMIS-6696: Added caching a promise when calling for permission strings.

  1. … 1 more file in changeset.
OLMIS-6592: Fix for user being able to see Requisitions tab despite not having a home facility or a...
OLMIS-6592: Fix for user being able to see Requisitions tab despite not having a home facility or a...
OLMIS-6592: Fix for user being able to see Requisitions tab despite not having a home facility or a proper role with a supervisory node.

  1. … 1 more file in changeset.