Page 1 of 1
Cert and Reservations won't hide under admin profile
Posted: Tue Nov 13, 2012 7:18 am
by docebogal
Even though I have Certificates and Reservations turned off under Administrator Profile,
they still appear under admin/elearning drop down.
Does anyone know why they won't turn off, or more importantly how to make them turn off? (not display)
thanks
Re: Cert and Reservations won't hide under admin profile
Posted: Tue Nov 13, 2012 9:33 am
by max
Hi,
we're talking about a Docebo 4, right? Did you upgrade from a Docebo 3.6? In that case, there is a known minor bug affecting the administrator and public admin permissions, it might have something to do with your issue.
Anyway, have you double-checked the permissions you've given to the Administrator profile? Maybe you forgot to unflag some item?
Re: Cert and Reservations won't hide under admin profile
Posted: Tue Nov 13, 2012 10:18 am
by docebogal
Just double-checked again, there are no checkmarks in the Certificates or Reservation boxes.
Yes, upgraded from 3.6 - maybe your "minor bug" is the problem?
Please keep me posted on news or progress.
thanks,
Re: Cert and Reservations won't hide under admin profile
Posted: Wed Nov 14, 2012 7:58 am
by max
Hi, the following images describe what I was talking about.
this is something that might happen when upgrading D36=>D4x
- correct.jpg (3.02 KiB) Viewed 4986 times
=>> this is the correct situation
- not_correct_D36-D4.jpg (2.55 KiB) Viewed 4986 times
=>> this is what may happen in an upgrade
to correct that, you have to manually insert some fields into the core_role table.
I'll keep you posted with the exact info asap.
Re: Cert and Reservations won't hide under admin profile
Posted: Wed Nov 14, 2012 11:11 am
by alberto
Hi docebogal, in the upgrader from version 3.6 a few things are missing and need to be mannually added to the database.
This is an example sql code for the insert, you just need to CHANGE ALL THE IDST IN THIS CODE with a progressive number starting from the last value you find in the idst table. I.E., if your last idst is 21945, set 21946 in the first line, 21947 in the second and so on:
Code: Select all
INSERT INTO `core_role` (`idst`, `roleid`, `description`) VALUES
('21946', '/lms/course/public/pusermanagement/view', NULL),
('21947', '/lms/course/public/pusermanagement/add', NULL),
('21948', '/lms/course/public/pusermanagement/mod', NULL),
('21949', '/lms/course/public/pusermanagement/del', NULL),
('21950', '/lms/course/public/pusermanagement/approve_waiting_user', NULL),
('21951', '/lms/course/public/pcourse/view', NULL),
('21952', '/lms/course/public/pcourse/add', NULL),
('21953', '/lms/course/public/pcourse/mod ', NULL),
('21954', '/lms/course/public/pcourse/del', NULL),
('21955', '/lms/course/public/pcourse/moderate', NULL),
('21956', '/lms/course/public/pcourse/subscribe', NULL),
('21957', '/lms/course/public/public_report_admin/view', NULL),
('21958', '/lms/course/public/public_newsletter_admin/view', NULL),
('21959', '/lms/course/public/pcertificate/view', NULL),
('21960', '/lms/course/public/pcertificate/mod', NULL);
This vill add the checkboxes to your config panel to activate or deactivate administrator permissions.
Let us know if this solves!
Re: Cert and Reservations won't hide under admin profile
Posted: Thu Nov 15, 2012 7:56 pm
by docebogal
Thank you for your help.
I will run the above process to see if it adds any missing boxes.
Please understaind, the problem isn't whether I can see the checkboxes.
The issue is, when I "uncheck" the reservations and certificate checkboxes, they still show up under the dropdown menus.
For Example: When I unchecked "contest" it no longer shows up to admins under the dropdown tab, but when I uncheck reservation and certificate - they are still showing up under the elearning drop-down tab... Does that make sense?
Re: Cert and Reservations won't hide under admin profile
Posted: Sat Nov 17, 2012 11:51 am
by max
Hi, the only things I can think of are:
1) some corrupt tables or files in your installation?
2) maybe you forgot to unckeck every item in reservation and cert?
Re: Cert and Reservations won't hide under admin profile
Posted: Sun Nov 18, 2012 10:10 am
by alberto
docebogal wrote:Thank you for your help.
I will run the above process to see if it adds any missing boxes.
Please understaind, the problem isn't whether I can see the checkboxes.
The issue is, when I "uncheck" the reservations and certificate checkboxes, they still show up under the dropdown menus.
For Example: When I unchecked "contest" it no longer shows up to admins under the dropdown tab, but when I uncheck reservation and certificate - they are still showing up under the elearning drop-down tab... Does that make sense?
Under a new 405 the certificate the permission management works fine and certificates doesn't show-up when hidden from profile administration.
The issue is probably due to some problem with upgrading from version 3.6, try adding the missing lines to the db and see if it works.
This INSERT is more complete than the above one:
Code: Select all
INSERT INTO `core_role` (`idst`, `roleid`, `description`) VALUES
('21946', '/lms/course/public/pusermanagement/view', NULL),
('21947', '/lms/course/public/pusermanagement/add', NULL),
('21948', '/lms/course/public/pusermanagement/mod', NULL),
('21949', '/lms/course/public/pusermanagement/del', NULL),
('21950', '/lms/course/public/pusermanagement/approve_waiting_user', NULL),
('21951', '/lms/course/public/pcourse/view', NULL),
('21952', '/lms/course/public/pcourse/add', NULL),
('21953', '/lms/course/public/pcourse/mod ', NULL),
('21954', '/lms/course/public/pcourse/del', NULL),
('21955', '/lms/course/public/pcourse/moderate', NULL),
('21956', '/lms/course/public/pcourse/subscribe', NULL),
('21957', '/lms/course/public/public_report_admin/view', NULL),
('21958', '/lms/course/public/public_newsletter_admin/view', NULL),
('21959', '/lms/course/public/pcertificate/view', NULL),
('21960', '/lms/course/public/pcertificate/mod', NULL);
('21960', '/lms/course/private/quest_bank/mod', NULL);
('21960', '/lms/course/private/quest_bank/view', NULL);
('21960', '/lms/course/private/reservation/mod', NULL);
('21960', '/lms/course/private/reservation/view', NULL);
('21960', '/lms/course/private/coursecharts/view', NULL);
('21960', '/lms/course/private/coursestats/view', NULL);
('21960', '/lms/course/private/presence/view', NULL);
('21960', '/lms/course/private/1/coursecharts/view', NULL);
('21960', '/lms/course/private/1/coursestats/view', NULL);
('21960', '/lms/course/private/1/presence/view', NULL);
Re: Cert and Reservations won't hide under admin profile
Posted: Fri Nov 22, 2013 12:34 pm
by alberto
The upgrader has been fixed in Forma 1.0, and now the upgrader from Docebo 3.6 includes also these inserts