Moodle

Misleading description OR not functional setting for "allowvisiblecoursesinhiddencategories"

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9
  • Fix Version/s: 1.9
  • Component/s: Course
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

When admins check the allowvisiblecoursesinhiddencategories setting, students are still not able to access visible courses contained in hidden categories.

Two possibilities:

1. the setting only works for some roles different from student role. In this case the description accompanying the setting should be enhanced to better explain what roles are affected.

2. if all roles are affected, the setting does not work properly.

Issue Links

Activity

Hide
Martin Dougiamas added a comment -

Nick, can you check the whole logic around this setting? It may have been disturbed by roles changes.

Show
Martin Dougiamas added a comment - Nick, can you check the whole logic around this setting? It may have been disturbed by roles changes.
Hide
Nicolas Connault added a comment -

Fixed in 1.9:

allowvisiblecoursesinhiddencategories was not used fully in the determination of the course's visibility. Testing and fixing 1.8 now.

Show
Nicolas Connault added a comment - Fixed in 1.9: allowvisiblecoursesinhiddencategories was not used fully in the determination of the course's visibility. Testing and fixing 1.8 now.
Hide
Nicolas Connault added a comment -

This is already working fine in 1.8 I think the report was a mistake.

Show
Nicolas Connault added a comment - This is already working fine in 1.8 I think the report was a mistake.
Hide
Daniele Cordella added a comment - - edited

> This is already working fine in 1.8 I think the report was a mistake.
No, the report was not a mistake.

I have a hidden category with a visible course inside and student enrolled in the course are not able to see it.
They do receive messages from the forums inside the course but if they try to connect the course (to answer to forums messages, for instance), they can not find it.

Show
Daniele Cordella added a comment - - edited > This is already working fine in 1.8 I think the report was a mistake. No, the report was not a mistake. I have a hidden category with a visible course inside and student enrolled in the course are not able to see it. They do receive messages from the forums inside the course but if they try to connect the course (to answer to forums messages, for instance), they can not find it.
Hide
Daniele Cordella added a comment - - edited

Andrea B. changed student role of the hidden category in order to give students the way to see (and get inside) visible courses inside the hidden category.

Show
Daniele Cordella added a comment - - edited Andrea B. changed student role of the hidden category in order to give students the way to see (and get inside) visible courses inside the hidden category.
Hide
Tim Hunt added a comment -

I have tested, and if allowvisiblecoursesinhiddencategories is turned on, then students can get into a visible course in a hidden category, (If that setting is off, they can't.)

However the course is not listed on the front page, nor in the My courses block, for either value of that setting.

Is that the correct behaviour?

Show
Tim Hunt added a comment - I have tested, and if allowvisiblecoursesinhiddencategories is turned on, then students can get into a visible course in a hidden category, (If that setting is off, they can't.) However the course is not listed on the front page, nor in the My courses block, for either value of that setting. Is that the correct behaviour?
Hide
Andrea Bicciolo added a comment -

Hi Tim,
yes it is the correct behavior. Please make sure student's capability is turned off.

I really think there should be only 1 place where to change it, either Admin settings OR role capability. What is your opinion ?

Cheers,
Andrea

Show
Andrea Bicciolo added a comment - Hi Tim, yes it is the correct behavior. Please make sure student's capability is turned off. I really think there should be only 1 place where to change it, either Admin settings OR role capability. What is your opinion ? Cheers, Andrea
Hide
Tim Hunt added a comment -

Closing, as per last comment.

Show
Tim Hunt added a comment - Closing, as per last comment.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: