kabam-archived / kabam-plugin-room

Kabam plugin with REST API for chat rooms
MIT License
0 stars 0 forks source link

review for hierarchical groups #2

Open vodolaz095 opened 11 years ago

vodolaz095 commented 11 years ago

http://stackoverflow.com/questions/5599759/suitability-of-mongodb-for-hierarchial-type-queries

http://stackoverflow.com/questions/5599759/suitability-of-mongodb-for-hierarchial-type-queries

http://stackoverflow.com/questions/1619058/storing-directory-hierarchy-in-a-key-value-data-store

kaw393939 commented 11 years ago

We need organizations and our site is organization 1.

Then people can create and join other orgs.

We have groups to but groups are children of orgs. Each org gets default admin and user group.

I will review

Sent from my iPhone

On Aug 30, 2013, at 4:22 PM, vodolaz095 notifications@github.com wrote:

http://stackoverflow.com/questions/5599759/suitability-of-mongodb-for-hierarchial-type-queries

http://stackoverflow.com/questions/5599759/suitability-of-mongodb-for-hierarchial-type-queries

http://stackoverflow.com/questions/1619058/storing-directory-hierarchy-in-a-key-value-data-store

— Reply to this email directly or view it on GitHub.

kaw393939 commented 11 years ago

Do it with trees.

Sent from my iPhone

On Aug 30, 2013, at 4:22 PM, vodolaz095 notifications@github.com wrote:

http://stackoverflow.com/questions/5599759/suitability-of-mongodb-for-hierarchial-type-queries

http://stackoverflow.com/questions/5599759/suitability-of-mongodb-for-hierarchial-type-queries

http://stackoverflow.com/questions/1619058/storing-directory-hierarchy-in-a-key-value-data-store

— Reply to this email directly or view it on GitHub.

vodolaz095 commented 11 years ago

ok, i'll try

vodolaz095 commented 11 years ago

http://docs.mongodb.org/manual/tutorial/model-tree-structures/

kaw393939 commented 11 years ago

When you do this update the kabam ui template to have create org and group. You also need to have a kabam template user management page to edit accounts. This will need to be for organizations. All users are members of organization 1 so org 1 has the user management page along with all organizations.

Please fix Facebook login it does not work.

Note: all functions should have regular HTML template. This will help with testing and for dealing wih old shitty versions of Internet explorer. In future we can redirect ie users to these plain pages as ie doesn't support a lot of advanced HTML 5 features.

Any comments?

Please put this in jira as an acceptance criteria for features

Sent from my iPhone

On Aug 30, 2013, at 4:47 PM, vodolaz095 notifications@github.com wrote:

http://docs.mongodb.org/manual/tutorial/model-tree-structures/

— Reply to this email directly or view it on GitHub.

kaw393939 commented 11 years ago

Also user roles will need to be per organizations and we should be able to easily add them in code and assign functional permissions. Maybe in future we could assign permission in ui, but maybe this is security issue. So for now just make it possible to create roles in code and we should be able to assign roles in the ui.

Sent from my iPhone

On Aug 30, 2013, at 4:47 PM, vodolaz095 notifications@github.com wrote:

http://docs.mongodb.org/manual/tutorial/model-tree-structures/

— Reply to this email directly or view it on GitHub.

vodolaz095 commented 11 years ago

When you do this update the kabam ui template to have create org and group.

so, we need a basic html frontend for groups? i'll create it

Please fix Facebook login it does not work.

facebooks works, we managed to fix it with @valmy ! You need to authorize by other means, than attach facebook profile to your account, and than you can authorize by facebook.

Please put this in jira as an acceptance criteria for features

how?

Also user roles will need to be per organizations and we should be able to easily add them in code and assign >functional permissions.

for now every organization have ordinary members and admins, do you mean there is roles for organization?

kaw393939 commented 11 years ago

Yes orgs have roles. For now it will be admin, teacher, student, member / ordinary user and anonymous.

Orgs should also be private or public. Private is invite only and public users can request membership. Then admin can change role to student or teacher.

Sent from my iPhone

On Aug 30, 2013, at 5:52 PM, vodolaz095 notifications@github.com wrote:

When you do this update the kabam ui template to have create org and group. so, we need a basic html frontend for groups? i'll create it

Please fix Facebook login it does not work. facebooks works, we managed to fix it with @valmy ! You need to authorize by other means, than attach facebook profile to your account, and than you can authorize by facebook.

Please put this in jira as an acceptance criteria for features how?

Also user roles will need to be per organizations and we should be able to easily add them in code and assign >functional permissions.

for now every organization have ordinary members and admins, do you mean there is roles for organization?

— Reply to this email directly or view it on GitHub.

kaw393939 commented 11 years ago

Budiman put in acceptence criteria

Sent from my iPhone

On Aug 30, 2013, at 5:52 PM, vodolaz095 notifications@github.com wrote:

When you do this update the kabam ui template to have create org and group. so, we need a basic html frontend for groups? i'll create it

Please fix Facebook login it does not work. facebooks works, we managed to fix it with @valmy ! You need to authorize by other means, than attach facebook profile to your account, and than you can authorize by facebook.

Please put this in jira as an acceptance criteria for features how?

Also user roles will need to be per organizations and we should be able to easily add them in code and assign >functional permissions.

for now every organization have ordinary members and admins, do you mean there is roles for organization?

— Reply to this email directly or view it on GitHub.

vodolaz095 commented 11 years ago

i see, so there will be 5 roles (by level of rights) admins (can edit group description, files, members), teachers (can edit files), students (can edit files), members (can comment on group wall, read files) others (can read comments and some files for public groups)

kaw393939 commented 11 years ago

We will be adding multiple different functions to permissoins for each role and there may be more roles.

Generally for a LMS we have these roles and functions:

  1. System admin - full control
  2. Help desk - access to all content and features but no editing of grades 2a. Course creator role. This role can create courses in the organization and assign teachers and students to courses.
  3. Teacher - Access to their own courses within the organization /w editing capabilities /w email class as group
  4. Student - Access to their own coruses with ability to view grades, submit assignments, and take quizzes, etc... email teacher and email students individually. Students also have groups they can be assigned to or create.
  5. General users - can see course listings and register but cannot see inside courses. They can participate in their own blog, site wiki, comment on site articles,

I foresee us needing to have a default organization that has these roles, which will be our public site. Then users can create their own organizations. The person creating the organization is the default administrator and can assign roles within that organization. The administrator of an organization can create courses for that organization. We may want to enable the ability for some users in the default site organization to create courses after they have been approved to create courses. We will create a manual approval process for this.

This is a complex feature, but it is the core of the system, so it's important to get this right and we must have very good test coverage for access to features by role, since we will have enormous problems if we ever have a security problem related to access to courses by unauthorized users. This will get us into legal trouble if we let this happen as in the US people's educational records are legally protected.

On Fri, Aug 30, 2013 at 5:26 PM, vodolaz095 notifications@github.comwrote:

i see, so there will be 4 roles (by level of rights) admins (can edit group description, files, members), teachers (can edit files), students (can edit files), members (can comment on group wall, read files) others (can read comments and some files for public groups)

— Reply to this email directly or view it on GitHubhttps://github.com/mykabam/kabam-plugin-room/issues/2#issuecomment-23592742 .

valmy commented 11 years ago

On Sat, Aug 31, 2013 at 4:52 AM, vodolaz095 notifications@github.comwrote:

Please fix Facebook login it does not work. facebooks works, we managed to fix it with @valmyhttps://github.com/valmy! You need to authorize by other means, than attach facebook profile to your account, and than you can authorize by facebook.

This is maybe because the facebook application is still in sandbox mode. So it's not published yet and it would need me to list other facebook users as fellow developers or testers, etc. Find me on facebook at https://www.facebook.com/tbudiman and let me add you to the application's developers list, and we'll see it that works.