checkRolloverPerms() {
this.canRollover = false;
- this.perm2.hasWorkPermAt(['ADMIN_FUND'], true).then(permMap => {
+ this.perm2.hasWorkPermAt(['ADMIN_FUND_ROLLOVER'], true).then(permMap => {
Object.keys(permMap).forEach(key => {
if (permMap[key].length > 0) {
this.canRollover = true;
( 639, 'ADMIN_OPENATHENS', oils_i18n_gettext(639,
'Allow a user to administer OpenAthens authentication service', 'ppl', 'description')),
( 640, 'ACCESS_ANGULAR_CIRC', oils_i18n_gettext(640,
- 'Allow a user to access the experimental Angular circulation interfaces', 'ppl', 'description'))
+ 'Allow a user to access the experimental Angular circulation interfaces', 'ppl', 'description')),
+ ( 641, 'ADMIN_FUND_ROLLOVER', oils_i18n_gettext(641,
+ 'Allow the user to perform fund propagation and rollover', 'ppl', 'description'))
;
SELECT SETVAL('permission.perm_list_id_seq'::TEXT, 1000);
--- /dev/null
+BEGIN;
+
+INSERT INTO permission.perm_list ( id, code, description )
+ VALUES (
+ 639,
+ 'ADMIN_FUND_ROLLOVER',
+ oils_i18n_gettext(
+ 639,
+ 'Allow a user to perform fund propagation and rollover',
+ 'ppl',
+ 'description'
+ )
+ );
+
+COMMIT;
\ No newline at end of file