Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
exam-sso-api
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor statistics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Medic
exam-sso-api
Commits
f070d082
Commit
f070d082
authored
5 years ago
by
Lorex
Browse files
Options
Downloads
Patches
Plain Diff
misc: 補 comment
parent
d514ff00
Branches
develop
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/api/helpers/issue-jwt.js
+5
-5
5 additions, 5 deletions
src/api/helpers/issue-jwt.js
with
5 additions
and
5 deletions
src/api/helpers/issue-jwt.js
+
5
−
5
View file @
f070d082
...
...
@@ -31,19 +31,19 @@ module.exports = {
// 權限表(之後視情況開 db collection)
const
roleName
=
{
0
:
{
name
:
'
SysAdmin
'
name
:
'
SysAdmin
'
// 系統開發管理員(開發用,不開放給 user)
},
1
:
{
name
:
'
Admin
'
name
:
'
Admin
'
// 管理員
},
10
:
{
name
:
'
Teacher
'
name
:
'
Teacher
'
// 老師
},
999
:
{
name
:
'
Student
'
name
:
'
Student
'
// 學生
},
1000
:
{
name
:
'
StudentWithoutExam
'
name
:
'
StudentWithoutExam
'
// 沒有測驗權限的學生
}
};
// 查詢 mail
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment