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;
( 637, 'UPLOAD_COVER_IMAGE', oils_i18n_gettext(637,
'Upload local cover images for added content.', 'ppl', 'description')),
( 638, 'RUN_SIMPLE_REPORTS', oils_i18n_gettext(638,
- 'Build and run simple reports', 'ppl', 'description'))
+ 'Build and run simple reports', 'ppl', 'description')),
+ ( 639, 'ADMIN_FUND_ROLLOVER', oils_i18n_gettext(639,
+ '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