Тёмный

Create User Access on Particular Collection Only [ MongoDB ] Create Role With privileges and actions 

Smarty Tech Fizz
Подписаться 1,7 тыс.
Просмотров 7 тыс.
50% 1

Опубликовано:

 

22 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
@dprasad110996
@dprasad110996 3 года назад
Thank you. Nice explanation
@RohitSingh-nw4iw
@RohitSingh-nw4iw 2 года назад
Thanks a lot Ma'am...this video was really helpful
@saranyaselvamathi
@saranyaselvamathi 2 года назад
really a nice video for custom roles
@fatihhguvenn
@fatihhguvenn 3 года назад
Thanks for the video.. i wanted to give you some feedback.. we needed to create a custom role because we don't give write permission to general users, but they need to export their own aggregation results to csv. so our temporary solution was to give them ["find","insert","remove","update"] priviliges to a single collection and tell them use that collection to $out their aggregation results then export that collection. i know it's not a thread safe solution but that was the most quick and dirty one we had come up with.. i would be grateful if you tell me that there is a neat solution for exporting aggregation results, if not i'd be still grateful though .)) thanks again.
@hashilbh5654
@hashilbh5654 2 года назад
Very Very Informative and i closed a task assigned me using this :)
@hashilbh5654
@hashilbh5654 2 года назад
a small query. while creating at the end we are specifying roles[ xyz]}), the role xyz role will override the creating one?
@SmartyTechFizz
@SmartyTechFizz 2 года назад
Hi@@hashilbh5654, We are not overriding any roles, here are we are just creating a new role which will be the combination of xyz.
@hashilbh5654
@hashilbh5654 2 года назад
Got it, one more thing can we restrict a particular collection for a user? Like no need to visible a particular collection for a user
@SmartyTechFizz
@SmartyTechFizz 2 года назад
@@hashilbh5654 Just give access to all collections, except for the one you want to restrict.
@hashilbh5654
@hashilbh5654 2 года назад
Ok will do that. So in collection: i can specify all collections separated by comma?
@aravinda4112
@aravinda4112 3 года назад
Thanks a lot it's really helpful to me
@Imranshaikh-dn3yf
@Imranshaikh-dn3yf 3 года назад
Thanks a lot Ma'am been searching for mongdb roles but didn't find this custom roles explained so well 🙏🏻🙏🏻👍🏻👍🏻 Mama can I give all collection access excepting only one collection to a user ?
@SmartyTechFizz
@SmartyTechFizz 3 года назад
Hi Imran, Thanks for watching the video and your valuable feedback. As per my knowledge, you can only provide the collection names on which you want to provide access. For your case, you can mention all the collections except the one which you don't want and then provide the actions on it. For any further clarification on any topic, you can reach us at smartytechfizz@gmail.com or can comment below. Keep Watching!!! Keep Learning!!!
@kelingnkp
@kelingnkp 2 года назад
Thanks
Далее
10. RBAC - Creating Roles for RBAC
16:22
Просмотров 12 тыс.