-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/ps/backend #259
Feat/ps/backend #259
Conversation
</template> | ||
<script setup lang="ts"> | ||
import { ref, computed } from 'vue' | ||
import IconPlus from '@/components/icons/IconPlus.vue' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import IconPlus from '@/components/icons/IconPlus.vue' | |
import { PlusCircleIcon } from '@heroicons/vue/24/outline' |
:key="index" | ||
class="collapse collapse-plus bg-base-200 border mt-2" | ||
> | ||
<input type="radio" name="my-accordion-3" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The accordions do not have the right behavior. (Does not toggle)
Use the AccordionComponent.vue component instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, I'll effect on a new request for the front-end
…system Merge "feature/permissioning-system" in "feat/PS/backend"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Formatting
- Uitls
You are just doing the crud with no check if the user have the right to do it.
I think you will handle if the user can do somes stuff or not.
backend/prisma/schema.prisma
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here you don't have the same formatting. Try to uniform the formatting.
import { prisma, errorResponse } from "../../utils"; | ||
import { Request, Response } from "express"; | ||
|
||
const initEntTypes = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const initEntTypes = [ | |
const initEntitlementTypes = [ |
You should name it in a way it's easy to understand.
Okay lemme work on implementing your reviews, I just wanted to get the functionality working first and then I'll handle authentication and securing the routes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Backend for the permissioning system.
Fixes # (issue)
Type of change
Please delete options that are not relevant.
Checklist: