Cert and Reservations won't hide under admin profile

Backend functionalities: user management, course management, reports, certificates, etc.
Post Reply
docebogal
FormaLms User
Posts: 55
Joined: Thu Nov 08, 2012 11:58 pm

Cert and Reservations won't hide under admin profile

Post 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
User avatar
max
FormaLms Guru
Posts: 2735
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Cert and Reservations won't hide under admin profile

Post 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?
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
docebogal
FormaLms User
Posts: 55
Joined: Thu Nov 08, 2012 11:58 pm

Re: Cert and Reservations won't hide under admin profile

Post 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,
User avatar
max
FormaLms Guru
Posts: 2735
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Cert and Reservations won't hide under admin profile

Post by max »

Hi, the following images describe what I was talking about.
this is something that might happen when upgrading D36=>D4x
correct.jpg
correct.jpg (3.02 KiB) Viewed 4015 times
=>> this is the correct situation
not_correct_D36-D4.jpg
not_correct_D36-D4.jpg (2.55 KiB) Viewed 4015 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.
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
User avatar
alberto
FormaLms Guru
Posts: 1135
Joined: Fri Mar 02, 2012 9:18 am
Contact:

Re: Cert and Reservations won't hide under admin profile

Post 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!
docebogal
FormaLms User
Posts: 55
Joined: Thu Nov 08, 2012 11:58 pm

Re: Cert and Reservations won't hide under admin profile

Post 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?
User avatar
max
FormaLms Guru
Posts: 2735
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Cert and Reservations won't hide under admin profile

Post 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?
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
User avatar
alberto
FormaLms Guru
Posts: 1135
Joined: Fri Mar 02, 2012 9:18 am
Contact:

Re: Cert and Reservations won't hide under admin profile

Post 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);

User avatar
alberto
FormaLms Guru
Posts: 1135
Joined: Fri Mar 02, 2012 9:18 am
Contact:

Re: Cert and Reservations won't hide under admin profile

Post by alberto »

The upgrader has been fixed in Forma 1.0, and now the upgrader from Docebo 3.6 includes also these inserts
Post Reply