We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af0a22f commit 0d46978Copy full SHA for 0d46978
client/components/V1/Generic/InterventionProcedure.tsx
@@ -57,7 +57,7 @@ const InterventionProcedure = () => {
57
const { data: documents = [], isFetching } = useGetDocumentsQuery({ studyprogrammeKey: programmeKey })
58
const document = (documents.length > 0 || !isFetching) ? documents.find((doc: DocumentType) => doc.id.toString() === id) : null
59
60
- const hasWriteRights = (user.access[programmeKey]?.write && user.specialGroup?.evaluationFaculty) || isAdmin(user)
+ const hasWriteRights = user.access[programmeKey]?.write || isAdmin(user)
61
62
// For this function the year variable is not needed cuz
63
// intervention procedure is independent from years.
0 commit comments