Files
plane/web/public/auth/unauthorized.svg

44 lines
23 KiB
XML
Raw Normal View History

[WEB-2126] chore: guest and viewer role permission (#5347) * chore: user store code refactor * chore: general unauthorized screen asset added * chore: workspace setting sidebar options updated for guest and viewer * chore: NotAuthorizedView component code updated * chore: project setting layout code refactor * chore: workspace setting members and exports page permission validation added * chore: workspace members and exports settings page improvement * chore: project invite modal updated * chore: workspace setting unauthorized access empty state * chore: workspace setting unauthorized access empty state * chore: project settings sidebar permission updated * fix: project settings user role permission updated * chore: app sidebar role permission validation updated * chore: app sidebar role permission validation * chore: disabled page empty state validation * chore: app sidebar add project improvement * chore: guest role changes * fix: user favorite * chore: changed pages permission * chore: guest role changes * fix: app sidebar project item permission * fix: project setting empty state flicker * fix: workspace setting empty state flicker * chore: granted notification permission to viewer * chore: project invite and edit validation updated * chore: favorite validation added for guest and viewer role * chore: create view validation updated * chore: views permission changes * chore: create view empty state validation updated * chore: created ENUM for permissions --------- Co-authored-by: NarayanBavisetti <narayan3119@gmail.com> Co-authored-by: Bavisetti Narayan <72156168+NarayanBavisetti@users.noreply.github.com>
2024-08-16 16:35:05 +05:30
<svg viewBox="113.973 38.701 281.415 172.368" xmlns="http://www.w3.org/2000/svg">
<defs>
<filter id="filter0_d_1537_45910" x="17.5323" y="0.532252" width="264.935" height="151.935" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feOffset/>
<feGaussianBlur stdDeviation="1.23387"/>
<feComposite in2="hardAlpha" operator="out"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1537_45910"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1537_45910" result="shape"/>
</filter>
<filter id="filter1_d_1537_45910" x="0.532252" y="21.5323" width="264.935" height="151.935" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feOffset/>
<feGaussianBlur stdDeviation="1.23387"/>
<feComposite in2="hardAlpha" operator="out"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1537_45910"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1537_45910" result="shape"/>
</filter>
</defs>
<rect x="169.862" y="65.408" width="79.585" height="13.551" rx="6.169" fill="#EBEBEB" transform="matrix(0.9999999999999999, 0, 0, 0.9999999999999999, 0, -7.105427357601002e-15)"/>
<rect x="264.871" y="65.408" width="79.585" height="13.551" rx="6.169" fill="#E2E2E2" transform="matrix(0.9999999999999999, 0, 0, 0.9999999999999999, 0, -7.105427357601002e-15)"/>
<g filter="url(#filter0_d_1537_45910)" transform="matrix(0.9999999999999999, 0, 0, 0.9999999999999999, 113.2900695800781, 37.6835594177246)">
<rect x="20" y="3" width="260" height="147" rx="6.16937" fill="white"/>
</g>
<path d="M 147.794 137.684 L 147.794 128.229 L 151.34 128.229 C 152.066 128.229 152.676 128.365 153.168 128.635 C 153.664 128.906 154.037 129.279 154.29 129.753 C 154.545 130.223 154.673 130.759 154.673 131.359 C 154.673 131.965 154.545 132.504 154.29 132.975 C 154.034 133.446 153.657 133.817 153.159 134.087 C 152.66 134.355 152.046 134.489 151.317 134.489 L 148.967 134.489 L 148.967 133.081 L 151.086 133.081 C 151.511 133.081 151.858 133.007 152.129 132.859 C 152.4 132.712 152.6 132.509 152.729 132.25 C 152.862 131.992 152.928 131.695 152.928 131.359 C 152.928 131.024 152.862 130.728 152.729 130.473 C 152.6 130.217 152.399 130.019 152.125 129.877 C 151.854 129.733 151.505 129.66 151.077 129.66 L 149.507 129.66 L 149.507 137.684 L 147.794 137.684 Z M 156.087 137.684 L 156.087 130.593 L 157.707 130.593 L 157.707 131.775 L 157.781 131.775 C 157.91 131.365 158.132 131.05 158.446 130.828 C 158.763 130.604 159.124 130.491 159.531 130.491 C 159.623 130.491 159.726 130.496 159.84 130.505 C 159.957 130.511 160.054 130.522 160.131 130.537 L 160.131 132.075 C 160.06 132.05 159.948 132.028 159.794 132.01 C 159.643 131.988 159.497 131.978 159.355 131.978 C 159.051 131.978 158.777 132.044 158.534 132.176 C 158.293 132.305 158.104 132.485 157.966 132.716 C 157.827 132.947 157.758 133.213 157.758 133.515 L 157.758 137.684 L 156.087 137.684 Z M 164.042 137.822 C 163.35 137.822 162.75 137.67 162.242 137.365 C 161.734 137.06 161.34 136.634 161.06 136.086 C 160.783 135.539 160.644 134.898 160.644 134.166 C 160.644 133.433 160.783 132.792 161.06 132.241 C 161.34 131.69 161.734 131.262 162.242 130.957 C 162.75 130.653 163.35 130.5 164.042 130.5 C 164.735 130.5 165.335 130.653 165.843 130.957 C 166.35 131.262 166.743 131.69 167.02 132.241 C 167.3 132.792 167.44 133.433 167.44 134.166 C 167.44 134.898 167.3 135.539 167.02 136.086 C 166.743 136.634 166.35 137.06 165.843 137.365 C 165.335 137.67 164.735 137.822 164.042 137.822 Z M 164.051 136.483 C 164.427 136.483 164.741 136.38 164.993 136.174 C 165.245 135.965 165.433 135.685 165.556 135.334 C 165.683 134.983 165.746 134.592 165.746 134.161 C 165.746 133.727 165.683 133.335 165.556 132.984 C 165.433 132.63 165.245 132.349 164.993 132.139 C 164.741 131.93 164.427 131.825 164.051 131.825 C 163.667 131.825 163.347 131.93 163.091 132.139 C 162.839 132.349 162.649 132.63 162.523 132.984 C 162.4 133.335 162.339 133.727 162.339 134.161 C 162.339 134.592 162.4 134.983 162.523 135.334 C 162.649 135.685 162.839 135.965 163.091 136.174 C 163.347 136.38 163.667 136.483 164.051 136.483 Z M 168.858 130.593 L 170.529 130.593 L 170.529 138.09 C 170.529 138.601 170.432 139.023 170.239 139.355 C 170.045 139.688 169.765 139.935 169.398 140.098 C 169.032 140.262 168.587 140.343 168.064 140.343 C 168.003 140.343 167.946 140.342 167.893 140.338 C 167.841 140.338 167.784 140.337 167.723 140.334 L 167.723 138.972 C 167.769 138.975 167.81 138.977 167.847 138.977 C 167.884 138.98 167.923 138.981 167.963 138.981 C 168.283 138.981 168.512 138.903 168.651 138.746 C 168.789 138.592 168.858 138.366 168.858 138.067 L 168.858 130.593 Z M 169.689 129.586 C 169.421 129.586 169.192 129.499 169.001 129.323 C 168.814 129.145 168.72 128.931 168.72 128.682 C 168.72 128.429 168.814 128.215 169.001 128.04 C 169.192 127.861 169.421 127.772 169.689 127.772 C 169.954 127.772 170.18 127.861 170.368 128.04 C 170.559 128.215 170.654 128.429 170.654 128.682 C 170.654 128.931 170.559 129.145 170.368 129.323 C 170.18 129.499 169.954 129.586 169.689 129.586 Z M 175.387 137.822 C 174.676 137.822 174.062 137.674 173.545 137.379 C 173.031 137.08 172.636 136.659 172.359 136.114 C 172.082 135.566 171.943 134.921 171.943 134.18 C 171.943 133.45 172.082 132.81 172.359 132.259 C 172.639 131.705 173.03 131.274 173.531 130.967 C 174.033 130.656 174.622 130.5 175.299 130.5 C 175.736 130.5 176.149 130.571 176.537 130.713 C 176.927 130.851 177.272 131.067 177.571 131.359 C 177.872 131.651 178.109 132.024 178.282 132.476 C 178.454 132.926 178.54 133.461 178.54 134.083 L 178.54 134.595 L 172.728 134.595 L 172.728 133.469 L 176.938 133.469 C 176.935 133.149
<rect x="147.29" y="150.495" width="232" height="8" rx="4" fill="#EBEBEB" transform="matrix(0.9999999999999999, 0, 0, 0.9999999999999999, 0, -7.105427357601002e-15)"/>
<rect x="147.29" y="166.495" width="79.585" height="8.02" rx="4.01" fill="#E2E2E2" transform="matrix(0.9999999999999999, 0, 0, 0.9999999999999999, 0, -7.105427357601002e-15)"/>
<path d="M 133.29 46.684 C 133.29 43.37 135.976 40.684 139.29 40.684 L 387.29 40.684 C 390.604 40.684 393.29 43.37 393.29 46.684 L 393.29 111.684 L 133.29 111.684 L 133.29 46.684 Z" fill="#FCECEF" transform="matrix(0.9999999999999999, 0, 0, 0.9999999999999999, 0, -7.105427357601002e-15)"/>
<path d="M 250.832 95.85 C 250.033 95.85 249.355 95.57 248.796 95.011 C 248.237 94.452 247.957 93.773 247.957 92.975 L 247.957 72.179 C 247.957 71.38 248.237 70.701 248.796 70.142 C 249.355 69.583 250.033 69.304 250.832 69.304 L 254.186 69.304 L 254.186 64.704 C 254.186 62.18 255.073 60.032 256.846 58.259 C 258.618 56.486 260.767 55.6 263.29 55.6 C 265.814 55.6 267.962 56.486 269.735 58.259 C 271.508 60.032 272.394 62.18 272.394 64.704 L 272.394 69.304 L 275.749 69.304 C 276.547 69.304 277.226 69.583 277.785 70.142 C 278.344 70.701 278.624 71.38 278.624 72.179 L 278.624 92.975 C 278.624 93.773 278.344 94.452 277.785 95.011 C 277.226 95.57 276.547 95.85 275.749 95.85 L 250.832 95.85 Z M 250.832 92.975 L 275.749 92.975 L 275.749 72.179 L 250.832 72.179 L 250.832 92.975 Z M 263.29 86.266 C 264.313 86.266 265.183 85.915 265.902 85.212 C 266.621 84.509 266.98 83.663 266.98 82.673 C 266.98 81.714 266.621 80.844 265.902 80.061 C 265.183 79.278 264.313 78.887 263.29 78.887 C 262.268 78.887 261.398 79.278 260.679 80.061 C 259.96 80.844 259.601 81.714 259.601 82.673 C 259.601 83.663 259.96 84.509 260.679 85.212 C 261.398 85.915 262.268 86.266 263.29 86.266 Z M 257.061 69.304 L 269.519 69.304 L 269.519 64.704 C 269.519 62.979 268.913 61.509 267.699 60.295 C 266.485 59.082 265.015 58.475 263.29 58.475 C 261.565 58.475 260.096 59.082 258.882 60.295 C 257.668 61.509 257.061 62.979 257.061 64.704 L 257.061 69.304 Z M 250.832 92.975 L 250.832 72.179 L 250.832 92.975 Z" fill="#F19FA9" transform="matrix(0.9999999999999999, 0, 0, 0.9999999999999999, 0, -7.105427357601002e-15)"/>
<rect x="152.862" y="86.408" width="79.585" height="13.551" rx="6.169" fill="#EBEBEB" transform="matrix(0.9999999999999999, 0, 0, 0.9999999999999999, 0, -7.105427357601002e-15)"/>
<rect x="247.871" y="86.408" width="79.585" height="13.551" rx="6.169" fill="#E2E2E2" transform="matrix(0.9999999999999999, 0, 0, 0.9999999999999999, 0, -7.105427357601002e-15)"/>
<g filter="url(#filter1_d_1537_45910)" transform="matrix(0.9999999999999999, 0, 0, 0.9999999999999999, 113.2900695800781, 37.6835594177246)">
<rect x="3" y="24" width="260" height="147" rx="6.16937" fill="white"/>
</g>
<rect x="130.29" y="171.495" width="232" height="8" rx="4" fill="#EBEBEB" transform="matrix(0.9999999999999999, 0, 0, 0.9999999999999999, 0, -7.105427357601002e-15)"/>
<rect x="130.29" y="187.495" width="79.585" height="8.02" rx="4.01" fill="#E2E2E2" transform="matrix(0.9999999999999999, 0, 0, 0.9999999999999999, 0, -7.105427357601002e-15)"/>
<path d="M 116.29 67.684 C 116.29 64.37 118.976 61.684 122.29 61.684 L 370.29 61.684 C 373.604 61.684 376.29 64.37 376.29 67.684 L 376.29 132.684 L 116.29 132.684 L 116.29 67.684 Z" fill="#FCECEF" transform="matrix(0.9999999999999999, 0, 0, 0.9999999999999999, 0, -7.105427357601002e-15)"/>
<path d="M 233.832 116.85 C 233.033 116.85 232.355 116.57 231.796 116.011 C 231.237 115.452 230.957 114.773 230.957 113.975 L 230.957 93.179 C 230.957 92.38 231.237 91.701 231.796 91.142 C 232.355 90.583 233.033 90.304 233.832 90.304 L 237.186 90.304 L 237.186 85.704 C 237.186 83.18 238.073 81.032 239.846 79.259 C 241.618 77.486 243.767 76.6 246.29 76.6 C 248.814 76.6 250.962 77.486 252.735 79.259 C 254.508 81.032 255.394 83.18 255.394 85.704 L 255.394 90.304 L 258.749 90.304 C 259.547 90.304 260.226 90.583 260.785 91.142 C 261.344 91.701 261.624 92.38 261.624 93.179 L 261.624 113.975 C 261.624 114.773 261.344 115.452 260.785 116.011 C 260.226 116.57 259.547 116.85 258.749 116.85 L 233.832 116.85 Z M 233.832 113.975 L 258.749 113.975 L 258.749 93.179 L 233.832 93.179 L 233.832 113.975 Z M 246.29 107.266 C 247.313 107.266 248.183 106.915 248.902 106.212 C 249.621 105.509 249.98 104.663 249.98 103.673 C 249.98 102.714 249.621 101.844 248.902 101.061 C 248.183 100.278 247.313 99.887 246.29 99.887 C 245.268 99.887 244.398 100.278 243.679 101.061 C 242.96 101.844 242.601 102.714 242.601 103.673 C 242.601 104.663 242.96 105.509 243.679 106.212 C 244.398 106.915 245.268 107.266 246.29 107.266 Z M 240.061 90.304 L 252.519 90.304 L 252.519 85.704 C 252.519 83.979 251.913 82.509 250.699 81.295 C 249.485 80.082 248.015 79.475 246.29 79.475 C 244.565 79.475 243.096 80.082 241.882 81.295 C 240.668 82.509 240.061 83.979 240.061 85.704 L 240.061 90.304 Z M 233.832 113.975 L 233.832 93.179 L 233.832 113.975 Z" fill="#F19FA9" transform="matrix(0.9999999999999999, 0, 0, 0.9999999999999999, 0, -7.105427357601002e-15)"/>
<text style="fill: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 29px; white-space: pre;" transform="matrix(0.46257600188255305, 0, 0, 0.4491150081157684, 71.06017303466794, 85.70719146728516)" x="126.837" y="162.177">Error unauthorized</text>
</svg>