Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我为大约 10 个用户设置了限制角色。
从 UI 我不能这样做,所以我想在数据库中更改它。
我们可以检查用户对视图的访问
SELECT * FROM mangoViewUsers WHERE mangoViewId = (oldID);
UPDATE mangoViewUsers SET mangoViewId = (newID) WHERE mangoViewId = (oldID)
我们再次检查用户对视图的访问
SELECT * FROM mangoViewUsers where mangoViewId = (newID);
新视图应该对有限制的用户可见。