It will be extremely useful to have a content moderator as a feature, such as admin, publisher and author
Absolutely agree! This feature is coming out in the next version, stay tuned! 馃槈
can't wait for the new version release
any eta on this feature?
@vonec Hoping to have it out next month. Thanks for being patient.
@ArjunKishore Just to be clear, the feature that's added to the next release is a simple Admin flag that can be set on the meta data for a user. So, if someone is an Admin, they'll have permission to:
If you're not an Admin, you'll only be able to:
So, it's not a huge roles-based system, but it should achieve a few elements that people in the community have asked for.
it would be great if we can extend the behavior in some way, editors can save drafts, but the publisher will have the ability to publish, this can be quite out of the scope of the base project. Not everyone would require this. Also, the ability to disable stats altogether would be great. Maintaining stats is an overload. so a flag on it would be great. Wish we can contribute a few PR's on to this. Is v6 code available somewhere, we will be more than happy to work on these features and submit a PR.
Thanks for the input @vonec. I do agree with you, and it may be out of the scope for this release to handle roles like that, but I'm not opposed to addressing it in a follow-up release.
One of the big enhancements to v6 is an integration with GitPod. If you haven't used it before, it's absolutely free to make an account by logging in with Github. Once you've done that, check out the Contributing section in the develop branch and click the Open in GitPod button.
It'll take a few minutes, so be patient. When it's done, you'll have a full development environment set up, perfectly tailored to working on Canvas. Two terminals will be open, with one setting up and serving the Laravel app, and the other setting up and compiling Canvas. When prompted, you'll be able to open a browser. From here, you're able to code, submit PRs, or do anything you like with the project. I'm pretty happy with it :-)
@austintoddj Thanks for your reply, I do share @vonec's opinion. I prefer to have a review process before a content gets published. I will see if I can contribute as well, appreciate your efforts.
@ArjunKishore @vonec
Since it's a shared opinion, I'll try and get this implemented. If you could, please detail out below, as specifically as you can, the expectations of this feature.
From where it stands right now, the app has users and it has admins. We can stick with that as being the _role_. Past that, what permissions and abilities do you see the need for?
There are two things that i would like to see.
Review / Moderation
a. User can save draft but cannot publish
b. Admin reviews/edits the post and publishes it.
Stats should be disabled based on a flag on config. People generally use google analytics, and maintaining views is a database overhead.
user has three different types of permission Author, Publisher and Admin
Author has lowest level of access
Publisher has medium level access
Admin has highest level of access
I don't have any problems with stats, in fact its very helpful that we don't have to rely on external analytics.
@austintoddj Please let me know your thoughts on this
Good thoughts @ArjunKishore @vonec, thanks for being clear with what you wanted to see in there. Since the admin role is currently already built into the develop branch, it shouldn't be too difficult to tweak the existing logic and allow for 3 roles.
The stats are going to remain as-is, just because it's an integral part of the project.
If you've got further thoughts on it, feel free to let me know.
if the stats are to be retained, they shd be the secondary thing we should be doing, for a content writer like medium, the focus should be on content creation. kindly consider having the posts on top and stats on a panel :)
Quick update for @vonec and @ArjunKishore and anyone else who follows this ;)
In the process of implementing some basic roles, it turned out to be far more economical to write an entire Auth system into the project. Going forward, we'll replace the canvas_user_meta table with canvas_users that can store all the login/meta/role information.
As it stands, we've got 3 roles:
When you install a fresh version of Canvas into a project, you'll get a default Admin user with basic credentials given through the console. Once in the app, you can perform all the CRUD operations you'd like on further users. The only thing you won't be able to do is delete or change your own role, for obvious reasons.
I'm still hoping to get this out by the end of this month, but the addition of these features makes it a bit tighter than before. Still, I'm extremely happy with where it's at, and I'll get this launched as soon as possible.
wow ... waiting to test it
@austintoddj Thanks a lot, really looking forward to it.
Added in v6.0.0
Most helpful comment
Absolutely agree! This feature is coming out in the next version, stay tuned! 馃槈