[2192] in Moira Commits

home help back first fref pref prev next nref lref last post

[ops/moira] 5923b3: Don't use access_ahad() for the access check for

daemon@ATHENA.MIT.EDU (Robert Basch)
Thu Sep 19 16:22:49 2024

Date: Thu, 19 Sep 2024 16:22:42 -0400
From: "Robert Basch" <noreply@mit.edu>
To: moira-commits@mit.edu
Message-ID: <ops/moira/push/refs/heads/master/0de96f-da6f05@github.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

  Branch: refs/heads/master
  Home:   https://github.mit.edu/ops/moira
  Commit: 5923b39b1dc025764078b057d855e73d3ddae267
      https://github.mit.edu/ops/moira/commit/5923b39b1dc025764078b057d855e73d3ddae267
  Author: Robert Basch <rbasch@mit.edu>
  Date:   2024-09-12 (Thu, 12 Sep 2024)

  Changed paths:
    M moira/server/queries2.c

  Log Message:
  -----------
  Don't use access_ahad() for the access check for the ghsa and gahs
queries. It is not currently called, as the queries are accessible
by all authenticated users anyway, and there is logic in access_ahad()
which is unwanted for HSAs.


  Commit: d2a29e1cd7281b926d0264772b987101fbb3824b
      https://github.mit.edu/ops/moira/commit/d2a29e1cd7281b926d0264772b987101fbb3824b
  Author: Robert Basch <rbasch@mit.edu>
  Date:   2024-09-18 (Wed, 18 Sep 2024)

  Changed paths:
    M moira/db/schema.sql

  Log Message:
  -----------
  Remove an extraneous blank line in the definition of the hostaddress
table.


  Commit: d362bd23b2e1a18270fab8188816845de8ed3359
      https://github.mit.edu/ops/moira/commit/d362bd23b2e1a18270fab8188816845de8ed3359
  Author: Robert Basch <rbasch@mit.edu>
  Date:   2024-09-19 (Thu, 19 Sep 2024)

  Changed paths:
    M moira/db/unschema.sql

  Log Message:
  -----------
  Add tables missing from unschema.sql, so that they are dropped before
running a restore:
  hostaddress
  hostrecord
  userhistory
  machidentifiermap


  Commit: 01dcd4ebf5ee744cc5925f1bb706b2106a52ff85
      https://github.mit.edu/ops/moira/commit/01dcd4ebf5ee744cc5925f1bb706b2106a52ff85
  Author: Robert Basch <rbasch@mit.edu>
  Date:   2024-09-19 (Thu, 19 Sep 2024)

  Changed paths:
    M moira/server/qaccess.pc

  Log Message:
  -----------
  Do not allow non-admins to set a host service ACL on a deleted host.


  Commit: da6f05938ef19f5f5c47a5c189696ee3e457b583
      https://github.mit.edu/ops/moira/commit/da6f05938ef19f5f5c47a5c189696ee3e457b583
  Author: Robert Basch <rbasch@mit.edu>
  Date:   2024-09-19 (Thu, 19 Sep 2024)

  Changed paths:
    M moira/backup/db2bkup.awk
    M moira/backup/dump_db.h
    M moira/backup/dump_db.pc
    M moira/backup/dumprest.pc
    M moira/backup/rest_db.pc

  Log Message:
  -----------
  Backup fixes to prevent duplicate values from being created on restore,
primarily in the strings table:

1) Use a Pro*C VARCHAR structure for reading character arrays, and use
the returned length, instead of simply removing trailing whitespace in
a fixed size character array.

2) Set NLS_LANG in the environment to use UTF8 (the DB character set),
so that any non-ASCII characters in a string are handled properly.


Compare: https://github.mit.edu/ops/moira/compare/0de96f922ce7...da6f05938ef1

home help back first fref pref prev next nref lref last post