-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Summary
Create the Topic CRUD using scaffolds.
Why?
Topics are the content heart of the app. Along with their related file uploads (to be added in a separate issue), they represent the training materials that are uploaded by providers and delivered to users.
Dependency
Set up rights by role before doing this.
Details
The rightmost column and the fields labeled "DEFUNCT" can be ignored. They are there for reference when talking to the stakeholders and for when we deal with later issues involving migrating old data.
- Topic CRUD works
- View HTML modified to work with our theme
- Belongs to provider (required)
- Belongs to language (required)
- Description is required
- State is an enumerable with two items: active and archived, defaulting to active
- Non-admins can create new topics only for their provider
- Non-admins can archive topics for their provider; they cannot destroy
- Admins can archive or destroy topics (Full CRUD access, basically)
- Index page shows all topics by year, title, created_at.
- Index page only shows topics the user can access
Future Development Notes
We will do a lot more with the UI for this later.
Metadata
Metadata
Assignees
Labels
No labels