I think this provides a better separation. Tokens and the policy editor don't belong on a page for managing users, since they are not users. Tokens are tied to both an account and a project, so it is reasonable to store them on a project-specific page. Add text to that page to explain how personal access tokens work.
11 lines
278 B
Plaintext
11 lines
278 B
Plaintext
<%== render(
|
|
"components/tabbar",
|
|
locals: {
|
|
tabs: [
|
|
["User Management", @project_data[:path] + "/user"],
|
|
["Personal Access Tokens", @project_data[:path] + "/user/token"],
|
|
["Advanced Policy Editor", @project_data[:path] + "/user/policy"]
|
|
]
|
|
}
|
|
) %>
|