Moodle
  1. Moodle
  2. MDL-21677

Concept of Primary Administrator is badly flawed

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.9.7
    • Fix Version/s: None
    • Component/s: Administration
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Rank:
      2562

      Description

      Certain emails and messages are sent to the Primary Administrator. This is actually whoever "just happens" to be the first assigned administrator. There have been previous complaints that it is difficult and arcane to change this but I think it's worse than that. This is a kind of secret thing that will be unknown to most users. There is no where in the Moodle interface that indicates there is a "primary" administrator. It was (IMO) a lazy decision. If there is going to be a primary administrator, then this must be explicit and there must be something in the UI to set it.

        Activity

        Hide
        Robert Brenstein added a comment -

        Flawed or just not properly documented? Aside from docs, the installation instructions should mention that and advise to create a generic admin account when installing rather than a specific person. That makes things simpler on the long term.

        Show
        Robert Brenstein added a comment - Flawed or just not properly documented? Aside from docs, the installation instructions should mention that and advise to create a generic admin account when installing rather than a specific person. That makes things simpler on the long term.
        Hide
        Séverin Terrier added a comment -

        I don't exactly know how all this is implemented now, but this documentation page should certainly be updated, if not up to date, or false :
        http://docs.moodle.org/en/Primary_Administrator

        Show
        Séverin Terrier added a comment - I don't exactly know how all this is implemented now, but this documentation page should certainly be updated, if not up to date, or false : http://docs.moodle.org/en/Primary_Administrator
        Hide
        Howard Miller added a comment -

        Moodle library has a function called get_admin(). What that does is to call get_admins() and the pop the first one of the list. What get_admins() does is to use the roles API to grap the list of site admins. So the first one in that list is usually whoever was the first site admin. However, if that person changes or they don't like the emails that they get about various stuff then you have some fun and games to change the "primary admin". It isn't impossible (you have to unassign that admin and then re-assign them from another admin. They'll get a higher id number in the role table). This all assumes you understand what was going on in the first place.. I certainly didn't.

        Show
        Howard Miller added a comment - Moodle library has a function called get_admin(). What that does is to call get_admins() and the pop the first one of the list. What get_admins() does is to use the roles API to grap the list of site admins. So the first one in that list is usually whoever was the first site admin. However, if that person changes or they don't like the emails that they get about various stuff then you have some fun and games to change the "primary admin". It isn't impossible (you have to unassign that admin and then re-assign them from another admin. They'll get a higher id number in the role table). This all assumes you understand what was going on in the first place.. I certainly didn't.
        Hide
        Michael de Raadt added a comment -

        Thanks for reporting this issue.

        We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported.

        If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed.

        Michael d;

        lqjjLKA0p6

        Show
        Michael de Raadt added a comment - Thanks for reporting this issue. We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported. If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed. Michael d; lqjjLKA0p6
        Hide
        Michael de Raadt added a comment -

        I'm closing this issue as it appears to have become inactive and is probably not relevant to a current supported version. If you are encountering this problem or one similar, please launch a new issue.

        Show
        Michael de Raadt added a comment - I'm closing this issue as it appears to have become inactive and is probably not relevant to a current supported version. If you are encountering this problem or one similar, please launch a new issue.

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: